mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-13 21:01:07 +00:00
Update static_contract.c
This commit is contained in:
@@ -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