Commit 560d366d authored by Z Nguyen-Huu's avatar Z Nguyen-Huu Committed by Commit Bot

[wasm] Adopt WAT compatible naming

We want to be consistent with wasdk/wasmparser.

The names used in V8 should follow the WAT convention and always start
with a dollar, both for names from the "names" section as well as
generated names.

Bug: v8:10242
Change-Id: If4dbd4c38208c9dd9377dd2f79120635a531d881
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2070637
Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com>
Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Reviewed-by: 's avatarKim-Anh Tran <kimanh@chromium.org>
Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66434}
parent fc55d733
......@@ -82,7 +82,9 @@ MaybeHandle<String> GetLocalNameString(Isolate* isolate,
DCHECK(wire_bytes.BoundsCheck(name_ref));
Vector<const char> name = wire_bytes.GetNameOrNull(name_ref);
if (name.begin() == nullptr) return {};
return isolate->factory()->NewStringFromUtf8(name);
std::string full_name("$");
full_name.append(name.begin(), name.end());
return isolate->factory()->NewStringFromUtf8(VectorOf(full_name));
}
class InterpreterHandle {
......@@ -383,9 +385,8 @@ class InterpreterHandle {
Handle<JSObject> local_scope_object =
isolate_->factory()->NewJSObjectWithNullProto();
// Fill parameters and locals.
int num_params = frame->GetParameterCount();
int num_locals = frame->GetLocalCount();
DCHECK_LE(num_params, num_locals);
DCHECK_LE(frame->GetParameterCount(), num_locals);
if (num_locals > 0) {
Handle<JSObject> locals_obj =
isolate_->factory()->NewJSObjectWithNullProto();
......@@ -400,10 +401,7 @@ class InterpreterHandle {
if (!GetLocalNameString(isolate, native_module,
frame->function()->func_index, i)
.ToHandle(&name)) {
// Parameters should come before locals in alphabetical ordering, so
// we name them "args" here.
const char* label = i < num_params ? "arg#%d" : "local#%d";
name = PrintFToOneByteString<true>(isolate_, label, i);
name = PrintFToOneByteString<true>(isolate_, "$var%d", i);
}
WasmValue value = frame->GetLocalValue(i);
Handle<Object> value_obj = WasmValueToValueObject(isolate_, value);
......@@ -523,7 +521,7 @@ Handle<JSObject> GetGlobalScopeObject(Handle<WasmInstanceObject> instance) {
globals_obj, NONE);
for (size_t i = 0; i < globals.size(); ++i) {
const char* label = "global#%d";
const char* label = "$global%d";
Handle<String> name = PrintFToOneByteString<true>(isolate, label, i);
WasmValue value =
WasmInstanceObject::GetGlobalValue(instance, globals[i]);
......@@ -559,9 +557,8 @@ class DebugInfoImpl {
DCHECK_NOT_NULL(debug_side_table_entry);
// Fill parameters and locals.
int num_params = static_cast<int>(function->sig->parameter_count());
int num_locals = static_cast<int>(debug_side_table->num_locals());
DCHECK_LE(num_params, num_locals);
DCHECK_LE(static_cast<int>(function->sig->parameter_count()), num_locals);
if (num_locals > 0) {
Handle<JSObject> locals_obj =
isolate->factory()->NewJSObjectWithNullProto();
......@@ -574,10 +571,7 @@ class DebugInfoImpl {
if (!GetLocalNameString(isolate, native_module_, function->func_index,
i)
.ToHandle(&name)) {
// Parameters should come before locals in alphabetical ordering, so
// we name them "args" here.
const char* label = i < num_params ? "arg#%d" : "local#%d";
name = PrintFToOneByteString<true>(isolate, label, i);
name = PrintFToOneByteString<true>(isolate, "$var%d", i);
}
WasmValue value = GetValue(debug_side_table_entry, i, fp);
Handle<Object> value_obj = WasmValueToValueObject(isolate, value);
......
......@@ -3,5 +3,5 @@ Waiting for wasm script to be parsed.
Setting breakpoint in wasm.
Running main.
Paused in debugger.
globals: {"global#0": hello, world}
globals: {"$global0": hello, world}
Finished.
......@@ -14,21 +14,21 @@ Script wasm://wasm/c4eb034a byte offset 85: Wasm opcode 0x20
Scope:
at C (interpreted) (0:85):
- scope (global):
globals: "global#0": 0 (number)
globals: "$global0": 0 (number)
- scope (local):
locals: "i32_arg": 42 (number), "i32_local": 0 (number)
locals: "$i32_arg": 42 (number), "$i32_local": 0 (number)
stack:
at B (liftoff) (0:76):
- scope (global):
globals: "global#0": 0 (number)
globals: "$global0": 0 (number)
- scope (local):
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "local#5": 0 (number)
locals: "$i32_arg": 42 (number), "$i32_local": 0 (number), "$f32_local": 7.199999809265137 (number), "$0": 0 (number), "$var5": 0 (number)
stack: "0": 42 (number), "1": 3 (number)
at A (liftoff) (0:54):
- scope (global):
globals: "global#0": 0 (number)
globals: "$global0": 0 (number)
- scope (local):
locals: "arg#0": 42 (number)
locals: "$var0": 42 (number)
stack:
at (anonymous) (0:17):
- scope (global):
......@@ -39,21 +39,21 @@ Script wasm://wasm/c4eb034a byte offset 87: Wasm opcode 0x24
Scope:
at C (interpreted) (0:87):
- scope (global):
globals: "global#0": 0 (number)
globals: "$global0": 0 (number)
- scope (local):
locals: "i32_arg": 42 (number), "i32_local": 0 (number)
locals: "$i32_arg": 42 (number), "$i32_local": 0 (number)
stack: "0": 42 (number)
at B (liftoff) (0:76):
- scope (global):
globals: "global#0": 0 (number)
globals: "$global0": 0 (number)
- scope (local):
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "local#5": 0 (number)
locals: "$i32_arg": 42 (number), "$i32_local": 0 (number), "$f32_local": 7.199999809265137 (number), "$0": 0 (number), "$var5": 0 (number)
stack: "0": 42 (number), "1": 3 (number)
at A (liftoff) (0:54):
- scope (global):
globals: "global#0": 0 (number)
globals: "$global0": 0 (number)
- scope (local):
locals: "arg#0": 42 (number)
locals: "$var0": 42 (number)
stack:
at (anonymous) (0:17):
- scope (global):
......@@ -64,21 +64,21 @@ Script wasm://wasm/c4eb034a byte offset 89: Wasm opcode 0x41
Scope:
at C (interpreted) (0:89):
- scope (global):
globals: "global#0": 42 (number)
globals: "$global0": 42 (number)
- scope (local):
locals: "i32_arg": 42 (number), "i32_local": 0 (number)
locals: "$i32_arg": 42 (number), "$i32_local": 0 (number)
stack:
at B (liftoff) (0:76):
- scope (global):
globals: "global#0": 42 (number)
globals: "$global0": 42 (number)
- scope (local):
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "local#5": 0 (number)
locals: "$i32_arg": 42 (number), "$i32_local": 0 (number), "$f32_local": 7.199999809265137 (number), "$0": 0 (number), "$var5": 0 (number)
stack: "0": 42 (number), "1": 3 (number)
at A (liftoff) (0:54):
- scope (global):
globals: "global#0": 42 (number)
globals: "$global0": 42 (number)
- scope (local):
locals: "arg#0": 42 (number)
locals: "$var0": 42 (number)
stack:
at (anonymous) (0:17):
- scope (global):
......@@ -89,21 +89,21 @@ Script wasm://wasm/c4eb034a byte offset 91: Wasm opcode 0x21
Scope:
at C (interpreted) (0:91):
- scope (global):
globals: "global#0": 42 (number)
globals: "$global0": 42 (number)
- scope (local):
locals: "i32_arg": 42 (number), "i32_local": 0 (number)
locals: "$i32_arg": 42 (number), "$i32_local": 0 (number)
stack: "0": 47 (number)
at B (liftoff) (0:76):
- scope (global):
globals: "global#0": 42 (number)
globals: "$global0": 42 (number)
- scope (local):
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "local#5": 0 (number)
locals: "$i32_arg": 42 (number), "$i32_local": 0 (number), "$f32_local": 7.199999809265137 (number), "$0": 0 (number), "$var5": 0 (number)
stack: "0": 42 (number), "1": 3 (number)
at A (liftoff) (0:54):
- scope (global):
globals: "global#0": 42 (number)
globals: "$global0": 42 (number)
- scope (local):
locals: "arg#0": 42 (number)
locals: "$var0": 42 (number)
stack:
at (anonymous) (0:17):
- scope (global):
......@@ -114,21 +114,21 @@ Script wasm://wasm/c4eb034a byte offset 93: Wasm opcode 0xb
Scope:
at C (interpreted) (0:93):
- scope (global):
globals: "global#0": 42 (number)
globals: "$global0": 42 (number)
- scope (local):
locals: "i32_arg": 42 (number), "i32_local": 47 (number)
locals: "$i32_arg": 42 (number), "$i32_local": 47 (number)
stack:
at B (liftoff) (0:76):
- scope (global):
globals: "global#0": 42 (number)
globals: "$global0": 42 (number)
- scope (local):
locals: "0": 0 (number), "i32_arg": 42 (number), "i32_local": 0 (number), "f32_local": 7.199999809265137 (number), "local#5": 0 (number)
locals: "$i32_arg": 42 (number), "$i32_local": 0 (number), "$f32_local": 7.199999809265137 (number), "$0": 0 (number), "$var5": 0 (number)
stack: "0": 42 (number), "1": 3 (number)
at A (liftoff) (0:54):
- scope (global):
globals: "global#0": 42 (number)
globals: "$global0": 42 (number)
- scope (local):
locals: "arg#0": 42 (number)
locals: "$var0": 42 (number)
stack:
at (anonymous) (0:17):
- scope (global):
......
......@@ -13,7 +13,7 @@ at wasm_A (0:38):
at wasm_B (0:56):
- scope (global):
- scope (local):
locals: "arg#0": 3 (number)
locals: "$var0": 3 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -34,7 +34,7 @@ at wasm_A (0:39):
at wasm_B (0:56):
- scope (global):
- scope (local):
locals: "arg#0": 3 (number)
locals: "$var0": 3 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -44,7 +44,7 @@ Scope:
at wasm_B (0:45):
- scope (global):
- scope (local):
locals: "arg#0": 3 (number)
locals: "$var0": 3 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -54,7 +54,7 @@ Scope:
at wasm_B (0:47):
- scope (global):
- scope (local):
locals: "arg#0": 3 (number)
locals: "$var0": 3 (number)
stack: "0": -11 (number)
at (anonymous) (0:17):
-- skipped
......@@ -64,7 +64,7 @@ Scope:
at wasm_B (0:49):
- scope (global):
- scope (local):
locals: "arg#0": 3 (number)
locals: "$var0": 3 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -74,7 +74,7 @@ Scope:
at wasm_B (0:51):
- scope (global):
- scope (local):
locals: "arg#0": 3 (number)
locals: "$var0": 3 (number)
stack: "0": -11 (number)
at (anonymous) (0:17):
-- skipped
......@@ -84,7 +84,7 @@ Scope:
at wasm_B (0:53):
- scope (global):
- scope (local):
locals: "arg#0": 3 (number)
locals: "$var0": 3 (number)
stack: "0": -11 (number), "1": 1 (number)
at (anonymous) (0:17):
-- skipped
......@@ -94,7 +94,7 @@ Scope:
at wasm_B (0:54):
- scope (global):
- scope (local):
locals: "arg#0": 3 (number)
locals: "$var0": 3 (number)
stack: "0": -11 (number)
at (anonymous) (0:17):
-- skipped
......@@ -108,7 +108,7 @@ at wasm_A (0:38):
at wasm_B (0:56):
- scope (global):
- scope (local):
locals: "arg#0": 2 (number)
locals: "$var0": 2 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -122,7 +122,7 @@ at wasm_A (0:39):
at wasm_B (0:56):
- scope (global):
- scope (local):
locals: "arg#0": 2 (number)
locals: "$var0": 2 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -132,7 +132,7 @@ Scope:
at wasm_B (0:45):
- scope (global):
- scope (local):
locals: "arg#0": 2 (number)
locals: "$var0": 2 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -142,7 +142,7 @@ Scope:
at wasm_B (0:47):
- scope (global):
- scope (local):
locals: "arg#0": 2 (number)
locals: "$var0": 2 (number)
stack: "0": -11 (number)
at (anonymous) (0:17):
-- skipped
......@@ -152,7 +152,7 @@ Scope:
at wasm_B (0:49):
- scope (global):
- scope (local):
locals: "arg#0": 2 (number)
locals: "$var0": 2 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -162,7 +162,7 @@ Scope:
at wasm_B (0:51):
- scope (global):
- scope (local):
locals: "arg#0": 2 (number)
locals: "$var0": 2 (number)
stack: "0": -11 (number)
at (anonymous) (0:17):
-- skipped
......@@ -172,7 +172,7 @@ Scope:
at wasm_B (0:53):
- scope (global):
- scope (local):
locals: "arg#0": 2 (number)
locals: "$var0": 2 (number)
stack: "0": -11 (number), "1": 1 (number)
at (anonymous) (0:17):
-- skipped
......@@ -182,7 +182,7 @@ Scope:
at wasm_B (0:54):
- scope (global):
- scope (local):
locals: "arg#0": 2 (number)
locals: "$var0": 2 (number)
stack: "0": -11 (number)
at (anonymous) (0:17):
-- skipped
......@@ -196,7 +196,7 @@ at wasm_A (0:38):
at wasm_B (0:56):
- scope (global):
- scope (local):
locals: "arg#0": 1 (number)
locals: "$var0": 1 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -210,7 +210,7 @@ at wasm_A (0:39):
at wasm_B (0:56):
- scope (global):
- scope (local):
locals: "arg#0": 1 (number)
locals: "$var0": 1 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -220,7 +220,7 @@ Scope:
at wasm_B (0:45):
- scope (global):
- scope (local):
locals: "arg#0": 1 (number)
locals: "$var0": 1 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -230,7 +230,7 @@ Scope:
at wasm_B (0:47):
- scope (global):
- scope (local):
locals: "arg#0": 1 (number)
locals: "$var0": 1 (number)
stack: "0": -11 (number)
at (anonymous) (0:17):
-- skipped
......@@ -240,7 +240,7 @@ Scope:
at wasm_B (0:49):
- scope (global):
- scope (local):
locals: "arg#0": 1 (number)
locals: "$var0": 1 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -250,7 +250,7 @@ Scope:
at wasm_B (0:51):
- scope (global):
- scope (local):
locals: "arg#0": 1 (number)
locals: "$var0": 1 (number)
stack: "0": -11 (number)
at (anonymous) (0:17):
-- skipped
......@@ -260,7 +260,7 @@ Scope:
at wasm_B (0:53):
- scope (global):
- scope (local):
locals: "arg#0": 1 (number)
locals: "$var0": 1 (number)
stack: "0": -11 (number), "1": 1 (number)
at (anonymous) (0:17):
-- skipped
......@@ -270,7 +270,7 @@ Scope:
at wasm_B (0:54):
- scope (global):
- scope (local):
locals: "arg#0": 1 (number)
locals: "$var0": 1 (number)
stack: "0": -11 (number)
at (anonymous) (0:17):
-- skipped
......@@ -284,7 +284,7 @@ at wasm_A (0:38):
at wasm_B (0:56):
- scope (global):
- scope (local):
locals: "arg#0": 0 (number)
locals: "$var0": 0 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -298,7 +298,7 @@ at wasm_A (0:39):
at wasm_B (0:56):
- scope (global):
- scope (local):
locals: "arg#0": 0 (number)
locals: "$var0": 0 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -308,7 +308,7 @@ Scope:
at wasm_B (0:45):
- scope (global):
- scope (local):
locals: "arg#0": 0 (number)
locals: "$var0": 0 (number)
stack:
at (anonymous) (0:17):
-- skipped
......@@ -318,7 +318,7 @@ Scope:
at wasm_B (0:47):
- scope (global):
- scope (local):
locals: "arg#0": 0 (number)
locals: "$var0": 0 (number)
stack: "0": -11 (number)
at (anonymous) (0:17):
-- skipped
......
......@@ -12,7 +12,7 @@ at wasm_B (0:60):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":3}
locals: {"$var0":3}
stack: {"0":1024}
at (anonymous) (0:17):
- scope (global):
......@@ -23,13 +23,13 @@ at wasm_A (0:39):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1024}
locals: {"$var0":1024}
stack: {}
at wasm_B (0:60):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":3}
locals: {"$var0":3}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -40,13 +40,13 @@ at wasm_A (0:40):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1024}
locals: {"$var0":1024}
stack: {}
at wasm_B (0:60):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":3}
locals: {"$var0":3}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -57,7 +57,7 @@ at wasm_B (0:62):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":3}
locals: {"$var0":3}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -68,7 +68,7 @@ at wasm_B (0:60):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":2}
locals: {"$var0":2}
stack: {"0":1024}
at (anonymous) (0:17):
- scope (global):
......@@ -79,7 +79,7 @@ at wasm_B (0:62):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":2}
locals: {"$var0":2}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -90,7 +90,7 @@ at wasm_B (0:44):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":2}
locals: {"$var0":2}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -101,7 +101,7 @@ at wasm_B (0:60):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {"0":1024}
at (anonymous) (0:17):
- scope (global):
......@@ -112,13 +112,13 @@ at wasm_A (0:39):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1024}
locals: {"$var0":1024}
stack: {}
at wasm_B (0:60):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -129,7 +129,7 @@ at wasm_B (0:62):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -140,7 +140,7 @@ at wasm_B (0:44):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -151,7 +151,7 @@ at wasm_B (0:46):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -162,7 +162,7 @@ at wasm_B (0:48):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {"0":1}
at (anonymous) (0:17):
- scope (global):
......@@ -173,7 +173,7 @@ at wasm_B (0:50):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -184,7 +184,7 @@ at wasm_B (0:52):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {"0":1}
at (anonymous) (0:17):
- scope (global):
......@@ -195,7 +195,7 @@ at wasm_B (0:54):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {"0":1,"1":1}
at (anonymous) (0:17):
- scope (global):
......@@ -206,7 +206,7 @@ at wasm_B (0:55):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {"0":0}
at (anonymous) (0:17):
- scope (global):
......@@ -217,7 +217,7 @@ at wasm_B (0:57):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":0}
locals: {"$var0":0}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -228,7 +228,7 @@ at wasm_B (0:60):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":0}
locals: {"$var0":0}
stack: {"0":1024}
at (anonymous) (0:17):
- scope (global):
......@@ -239,13 +239,13 @@ at wasm_A (0:39):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1024}
locals: {"$var0":1024}
stack: {}
at wasm_B (0:60):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":0}
locals: {"$var0":0}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -256,13 +256,13 @@ at wasm_A (0:40):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1024}
locals: {"$var0":1024}
stack: {}
at wasm_B (0:60):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":0}
locals: {"$var0":0}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -273,13 +273,13 @@ at wasm_A (0:41):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1024}
locals: {"$var0":1024}
stack: {}
at wasm_B (0:60):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":0}
locals: {"$var0":0}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -290,7 +290,7 @@ at wasm_B (0:62):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":0}
locals: {"$var0":0}
stack: {}
at (anonymous) (0:17):
- scope (global):
......
......@@ -15,7 +15,7 @@ at wasm_B (0:54):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":4}
locals: {"$var0":4}
stack: {"0":3}
at (anonymous) (0:17):
- scope (global):
......@@ -26,7 +26,7 @@ at wasm_B (0:56):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":3}
locals: {"$var0":3}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -42,7 +42,7 @@ at wasm_B (0:56):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":3}
locals: {"$var0":3}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -58,7 +58,7 @@ at wasm_B (0:56):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":3}
locals: {"$var0":3}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -69,7 +69,7 @@ at wasm_B (0:58):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":3}
locals: {"$var0":3}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -80,7 +80,7 @@ at wasm_B (0:54):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":3}
locals: {"$var0":3}
stack: {"0":2}
at (anonymous) (0:17):
- scope (global):
......@@ -91,7 +91,7 @@ at wasm_B (0:56):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":2}
locals: {"$var0":2}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -102,7 +102,7 @@ at wasm_B (0:58):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":2}
locals: {"$var0":2}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -113,7 +113,7 @@ at wasm_B (0:54):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":2}
locals: {"$var0":2}
stack: {"0":1}
at (anonymous) (0:17):
- scope (global):
......@@ -124,7 +124,7 @@ at wasm_B (0:56):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -140,7 +140,7 @@ at wasm_B (0:56):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -151,7 +151,7 @@ at wasm_B (0:58):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -162,7 +162,7 @@ at wasm_B (0:43):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -173,7 +173,7 @@ at wasm_B (0:45):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -184,7 +184,7 @@ at wasm_B (0:47):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {"0":1}
at (anonymous) (0:17):
- scope (global):
......@@ -195,7 +195,7 @@ at wasm_B (0:49):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -206,7 +206,7 @@ at wasm_B (0:51):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {"0":1}
at (anonymous) (0:17):
- scope (global):
......@@ -217,7 +217,7 @@ at wasm_B (0:53):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {"0":1,"1":1}
at (anonymous) (0:17):
- scope (global):
......@@ -228,7 +228,7 @@ at wasm_B (0:54):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":1}
locals: {"$var0":1}
stack: {"0":0}
at (anonymous) (0:17):
- scope (global):
......@@ -239,7 +239,7 @@ at wasm_B (0:56):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":0}
locals: {"$var0":0}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -255,7 +255,7 @@ at wasm_B (0:56):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":0}
locals: {"$var0":0}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -271,7 +271,7 @@ at wasm_B (0:56):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":0}
locals: {"$var0":0}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -287,7 +287,7 @@ at wasm_B (0:56):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":0}
locals: {"$var0":0}
stack: {}
at (anonymous) (0:17):
- scope (global):
......@@ -298,7 +298,7 @@ at wasm_B (0:58):
- scope (global):
-- skipped
- scope (local):
locals: {"arg#0":0}
locals: {"$var0":0}
stack: {}
at (anonymous) (0:17):
- scope (global):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment