diff options
author | Sam Clegg <sbc@chromium.org> | 2019-04-25 07:50:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 07:50:15 -0700 |
commit | 09945884f7461135286357d14f993f9b5c5a329b (patch) | |
tree | 91e9940c495469d4029bacc3576a97bb8b215908 /test/wasm2js/br_table.2asm.js | |
parent | c3ed0f176b36a502ef2e1fd915550a808b8d8f0b (diff) | |
download | binaryen-09945884f7461135286357d14f993f9b5c5a329b.tar.gz binaryen-09945884f7461135286357d14f993f9b5c5a329b.tar.bz2 binaryen-09945884f7461135286357d14f993f9b5c5a329b.zip |
Remove f32 legalization from LegalizeJSInterface (#2052)
As well as i64 splitting this pass was also converting f32 to f64
at the wasm boundry. However it appears this is not actually useful
and makes somethings (such as dynamic linking) harder.
Diffstat (limited to 'test/wasm2js/br_table.2asm.js')
-rw-r--r-- | test/wasm2js/br_table.2asm.js | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/test/wasm2js/br_table.2asm.js b/test/wasm2js/br_table.2asm.js index 8587a25d4..18a67f343 100644 --- a/test/wasm2js/br_table.2asm.js +++ b/test/wasm2js/br_table.2asm.js @@ -50215,10 +50215,6 @@ function asmFunc(global, env, buffer) { return $0; } - function legalstub$7() { - return +$7(); - } - function legalstub$30() { var i64toi32_i32$0 = 0, i64toi32_i32$4 = 0, i64toi32_i32$1 = 0, i64toi32_i32$3 = 0, $7_1 = 0, $0 = 0, $0$hi = 0, i64toi32_i32$2 = 0; i64toi32_i32$0 = $30(); @@ -50245,10 +50241,6 @@ function asmFunc(global, env, buffer) { return $0; } - function legalstub$46() { - return +$46(); - } - function legalstub$47() { var i64toi32_i32$0 = 0, i64toi32_i32$4 = 0, i64toi32_i32$1 = 0, i64toi32_i32$3 = 0, $7_1 = 0, $0 = 0, $0$hi = 0, i64toi32_i32$2 = 0; i64toi32_i32$0 = $47(); @@ -50275,10 +50267,6 @@ function asmFunc(global, env, buffer) { return $0; } - function legalstub$52() { - return +$52(); - } - function legalstub$54() { var i64toi32_i32$0 = 0, i64toi32_i32$4 = 0, i64toi32_i32$1 = 0, i64toi32_i32$3 = 0, $7_1 = 0, $0 = 0, $0$hi = 0, i64toi32_i32$2 = 0; i64toi32_i32$0 = $54(); @@ -50313,7 +50301,7 @@ function asmFunc(global, env, buffer) { "type_f64": $4, "type_i32_value": $5, "type_i64_value": legalstub$6, - "type_f32_value": legalstub$7, + "type_f32_value": $7, "type_f64_value": $8, "empty": $9, "empty_value": $10, @@ -50351,13 +50339,13 @@ function asmFunc(global, env, buffer) { "as_call_indirect_last": $43, "as_call_indirect_func": $44, "as_local_set_value": $45, - "as_load_address": legalstub$46, + "as_load_address": $46, "as_loadN_address": legalstub$47, "as_store_address": $48, "as_store_value": $49, "as_storeN_address": $50, "as_storeN_value": $51, - "as_unary_operand": legalstub$52, + "as_unary_operand": $52, "as_binary_left": $53, "as_binary_right": legalstub$54, "as_test_operand": $55, |