mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-06-28 05:51:44 +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