Displaying 1 result from an estimated 1 matches for "ifelseend56".
2019 Apr 01
2
Instruction Execution With Hard Limitation at Runtime
...WAVM__XX__gGasUsed
ret void
}
; Function Attrs: noreturn nounwind
declare void @exit(i32) #2
Then, I insert this function into the beginning of each basic block the way
as below:
...
ifElse55: ; preds = %ifElseEnd53
call void @add_gas(i64 1)
br label %ifElseEnd56
ifElseEnd56: ; preds = %ifElse55,
%ifThen54
call void @add_gas(i64 2)
%378 = load i32, i32* %11
br label %ifElseEnd41
ifElse40: ; preds = %blockEnd23
call void @add_gas(i64 2)
%379 = load i32, i32* %11
br lab...