Update static_contract.c

This commit is contained in:
Nikolay Volf
2017-05-04 11:08:11 +04:00
committed by GitHub
parent ee7157160d
commit 2f84ffd10a

View File

@ -5,7 +5,7 @@ int call(void* descriptor) {
data += *input_length; data += *input_length;
} }
/* produces the following code (with gas counter) /* produces the following code (with gas counter and call optimization)
(module (module
(type (;0;) (func (param i32) (result i32))) (type (;0;) (func (param i32) (result i32)))
(type (;1;) (func)) (type (;1;) (func))
@ -35,4 +35,4 @@ int call(void* descriptor) {
end) end)
(export "_call" (func 1))) (export "_call" (func 1)))
*/ */