Commit 5626d2b938fbe2739a9576eb4bf4a2bdced83d13
Merge branch 'shim' into testing
wanderer committed on 10/5/2016, 12:13:27 PMParent: e33967995aea7355c21e5b5ac0e8cf838b52f788
Parent: 6fcf57fa14199694357281d7b29614acd8ab234c
Files changed
wasm/interface.wasm | changed |
wasm/interface.wast | changed |
wasm/interface.wasm | ||
---|---|---|
@@ -1,2 +1,2 @@ | ||
1 | - asm type)@ @ @@ @ @importV interfaceuseGas interfacegetGasLeftHigh interface getGasLeftLow interfacecallfunctionexport useGas | |
2 | -getGasLeftcallcode@ f� � � e �[ f� � | |
1 | + asm type+@ @ @ @ @ @importV interfaceuseGas interfacegetGasLeftHigh interface getGasLeftLow interfacecallfunctionexport useGas | |
2 | +getGasLeftcallcodeB f� � � e �[ f� � |
wasm/interface.wast | ||
---|---|---|
@@ -23,12 +23,12 @@ | ||
23 | 23 | ) |
24 | 24 | (export "getGasLeft" $getGasLeft) |
25 | 25 | |
26 | 26 | ;; 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)) | |
29 | 29 | (func $callShim |
30 | - (param i64 i32 i32 i32 i32 i32 i32) | |
30 | + (param i64 i32 i32 i32 i32 i32 i32 i32) | |
31 | 31 | (result i32) |
32 | 32 | (call_import $call |
33 | 33 | (i32.wrap/i64 |
34 | 34 | (i64.shr_u (get_local 0) (i64.const 32))) |
@@ -38,8 +38,9 @@ | ||
38 | 38 | (get_local 3) |
39 | 39 | (get_local 4) |
40 | 40 | (get_local 5) |
41 | 41 | (get_local 6) |
42 | + (get_local 7) | |
42 | 43 | ) |
43 | 44 | ) |
44 | 45 | (export "call" $callShim) |
45 | 46 | ) |
Built with git-ssb-web