mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-11-14 22:57:14 +00:00
Update static_contract.c
This commit is contained in:
1 parent
ee7157160d
commit
2f84ffd10a
1 file changed
+2
-2
@@ -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)))
|
||||||
|
|
||||||
*/
|
*/
|
||||||
Reference in new issue
Block a user