From 5d3fcffdd9f9d9de10a0ce60d1e0163693c007c3 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 23 Apr 2019 17:13:47 -0700 Subject: wasm2js: emit quoted properties for the exports, to support closure compiler (#2043) --- test/wasm2js/set_local.2asm.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'test/wasm2js/set_local.2asm.js') diff --git a/test/wasm2js/set_local.2asm.js b/test/wasm2js/set_local.2asm.js index 1f4938ec5..1251264ed 100644 --- a/test/wasm2js/set_local.2asm.js +++ b/test/wasm2js/set_local.2asm.js @@ -239,16 +239,16 @@ function asmFunc(global, env, buffer) { var FUNCTION_TABLE = []; return { - type_local_i32: $0, - type_local_i64: $1, - type_local_f32: $2, - type_local_f64: $3, - type_param_i32: $4, - type_param_i64: legalstub$5, - type_param_f32: legalstub$6, - type_param_f64: $7, - type_mixed: legalstub$8, - write: legalstub$9 + "type_local_i32": $0, + "type_local_i64": $1, + "type_local_f32": $2, + "type_local_f64": $3, + "type_param_i32": $4, + "type_param_i64": legalstub$5, + "type_param_f32": legalstub$6, + "type_param_f64": $7, + "type_mixed": legalstub$8, + "write": legalstub$9 }; } -- cgit v1.2.3