fix grow memory injector

This commit is contained in:
NikVolf 2018-02-21 20:45:11 +03:00
parent 1fbcca8435
commit 48232fb9bb

View File

@ -51,7 +51,6 @@ fn add_grow_counter(module: elements::Module, rules: &rules::Set, gas_func: u32)
// todo: there should be strong guarantee that it does not return anything on stack? // todo: there should be strong guarantee that it does not return anything on stack?
Call(gas_func), Call(gas_func),
GrowMemory(0), GrowMemory(0),
GetLocal(0),
End, End,
])) ]))
.build() .build()
@ -260,7 +259,6 @@ mod tests {
I32Mul, I32Mul,
Call(0), Call(0),
GrowMemory(0), GrowMemory(0),
GetLocal(0),
End, End,
][..], ][..],
injected_module injected_module