Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nevillegrech/gigahorse-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
sifislag committed Jun 27, 2024
2 parents 1711f36 + ab50441 commit a648c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clientlib/memory_modeling/arrays.dl
Original file line number Diff line number Diff line change
Expand Up @@ -1148,17 +1148,17 @@ VarPointsToArray(ctx, arrayVar, ctx, arrayId):-
ArrayAllocation(arrayId, _, _).

VarPointsToArray(newCtx, formal, heapCtx, arrayId):-
clientCtx.MergeClientContext(callerCtx, caller, newCtx),
VarPointsToArray(callerCtx, actual, heapCtx, arrayId),
clientCtx.MergeClientContext(callerCtx, caller, newCtx),
ActualArgs(caller, actual, pos),
CallGraphEdge(caller, function),
FormalArgs(function, formal, pos).

VarPointsToArray(callerCtx, actual, heapCtx, arrayId):-
VarPointsToArray(calleeCtx, formal, heapCtx, arrayId),
clientCtx.MergeClientContext(callerCtx, caller, calleeCtx),
CallGraphEdge(caller, function),
FormalReturnArgs(function, formal, index),
VarPointsToArray(calleeCtx, formal, heapCtx, arrayId),
ActualReturnArgs(caller, actual, index).

InsVarPointsToArray(var, arrayId):-
Expand Down

0 comments on commit a648c13

Please sign in to comment.