Add preOffset to the bindingset for simpleArrayLengthStep.

This commit is contained in:
Cornelius Riemenschneider
2020-04-30 15:00:12 +02:00
parent b838426421
commit c856552b64

View File

@@ -128,7 +128,7 @@ private int getBaseSizeForPointerType(PointerType type) { result = type.getBaseT
* steps to `array` that points to `offset + offsetDelta` in one step.
* This predicate does not contain any recursive steps.
*/
bindingset[prevOffsetDelta]
bindingset[prevOffset,prevOffsetDelta]
predicate simpleArrayLengthStep(
Instruction array, Offset offset, int offsetDelta, Instruction prev, Offset prevOffset,
int prevOffsetDelta