git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 6fcf57fa14199694357281d7b29614acd8ab234c

updated call for shim

wanderer committed on 10/5/2016, 12:12:03 PM
Parent: b69c707ce2037dd58b2dd10a63ebebfa3644f23b

Files changed

wasm/interface.wasmchanged
wasm/interface.wastchanged
wasm/interface.wasmView
@@ -1,2 +1,2 @@
1-asm type)@@@@@@importV interfaceuseGas interfacegetGasLeftHigh interface getGasLeftLow interfacecallfunctionexportuseGas
2-getGasLeftcallcode@  f��� e�[  f��
1+asm type+@@@ @@@importV interfaceuseGas interfacegetGasLeftHigh interface getGasLeftLow interfacecallfunctionexportuseGas
2+getGasLeftcallcodeB  f��� e�[  f�� 
wasm/interface.wastView
@@ -23,12 +23,12 @@
2323 )
2424 (export "getGasLeft" $getGasLeft)
2525
2626 ;; call
27- ;; (import $call "ethereum" "call" (param i32 i32 i32 i32 i32 i32 i32) (result i32))
28- (import $call "interface" "call" (param i32 i32 i32 i32 i32 i32 i32 i32) (result i32))
27+ ;; (import $call "ethereum" "call" (param i32 i32 i32 i32 i32 i32 i32 i32) (result i32))
28+ (import $call "interface" "call" (param i32 i32 i32 i32 i32 i32 i32 i32 i32) (result i32))
2929 (func $callShim
30- (param i64 i32 i32 i32 i32 i32 i32)
30+ (param i64 i32 i32 i32 i32 i32 i32 i32)
3131 (result i32)
3232 (call_import $call
3333 (i32.wrap/i64
3434 (i64.shr_u (get_local 0) (i64.const 32)))
@@ -38,8 +38,9 @@
3838 (get_local 3)
3939 (get_local 4)
4040 (get_local 5)
4141 (get_local 6)
42+ (get_local 7)
4243 )
4344 )
4445 (export "call" $callShim)
4546 )

Built with git-ssb-web