Commit 59f485fc authored by Benedikt Meurer's avatar Benedikt Meurer Committed by Commit Bot

[wasm][debug] Flatten locals in scope view.

This aligns the wasm locals with how JavaScript locals are displayed in
the DevTools scope view.

Before: https://i.imgur.com/y0urpbL.png
After: https://i.imgur.com/368KDay.png

Bug: chromium:1043034
Change-Id: I5811d18101ec68c320fd223e041e12989c66e721
Doc: https://bit.ly/wasm-fallback-dx#bookmark=id.1uhy72x83he7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2232550
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Reviewed-by: 's avatarZhi An Ng <zhin@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68222}
parent fe49166a
...@@ -436,33 +436,25 @@ class DebugInfoImpl { ...@@ -436,33 +436,25 @@ class DebugInfoImpl {
// Fill parameters and locals. // Fill parameters and locals.
int num_locals = static_cast<int>(scope.debug_side_table->num_locals()); int num_locals = static_cast<int>(scope.debug_side_table->num_locals());
DCHECK_LE(static_cast<int>(function->sig->parameter_count()), num_locals); DCHECK_LE(static_cast<int>(function->sig->parameter_count()), num_locals);
if (num_locals > 0) { for (int i = 0; i < num_locals; ++i) {
Handle<JSObject> locals_obj = Handle<Name> name;
isolate->factory()->NewJSObjectWithNullProto(); if (!GetLocalNameString(isolate, native_module_, function->func_index, i)
Handle<String> locals_name = .ToHandle(&name)) {
isolate->factory()->InternalizeString(StaticCharVector("locals")); name = PrintFToOneByteString<true>(isolate, "var%d", i);
JSObject::AddProperty(isolate, local_scope_object, locals_name,
locals_obj, NONE);
for (int i = 0; i < num_locals; ++i) {
Handle<Name> name;
if (!GetLocalNameString(isolate, native_module_, function->func_index,
i)
.ToHandle(&name)) {
name = PrintFToOneByteString<true>(isolate, "var%d", i);
}
WasmValue value =
GetValue(scope.debug_side_table_entry, i, fp, debug_break_fp);
Handle<Object> value_obj = WasmValueToValueObject(isolate, value);
// {name} can be a string representation of an element index.
LookupIterator::Key lookup_key{isolate, name};
LookupIterator it(isolate, locals_obj, lookup_key, locals_obj,
LookupIterator::OWN_SKIP_INTERCEPTOR);
if (it.IsFound()) continue;
Object::AddDataProperty(&it, value_obj, NONE,
Just(ShouldThrow::kThrowOnError),
StoreOrigin::kNamed)
.Check();
} }
WasmValue value =
GetValue(scope.debug_side_table_entry, i, fp, debug_break_fp);
Handle<Object> value_obj = WasmValueToValueObject(isolate, value);
// {name} can be a string representation of an element index.
LookupIterator::Key lookup_key{isolate, name};
LookupIterator it(isolate, local_scope_object, lookup_key,
local_scope_object,
LookupIterator::OWN_SKIP_INTERCEPTOR);
if (it.IsFound()) continue;
Object::AddDataProperty(&it, value_obj, NONE,
Just(ShouldThrow::kThrowOnError),
StoreOrigin::kNamed)
.Check();
} }
return local_scope_object; return local_scope_object;
} }
......
...@@ -4,100 +4,100 @@ Testing i32. ...@@ -4,100 +4,100 @@ Testing i32.
Waiting for wasm script. Waiting for wasm script.
Setting 20 breakpoints. Setting 20 breakpoints.
Calling main. Calling main.
Paused at offset 48; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [] Paused at offset 48; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: []
Paused at offset 50; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0] Paused at offset 50; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0]
Paused at offset 52; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1] Paused at offset 52; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1]
Paused at offset 54; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2] Paused at offset 54; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2]
Paused at offset 56; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3] Paused at offset 56; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3]
Paused at offset 58; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4] Paused at offset 58; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4]
Paused at offset 60; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5] Paused at offset 60; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5]
Paused at offset 62; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6] Paused at offset 62; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6]
Paused at offset 64; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7] Paused at offset 64; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7]
Paused at offset 66; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8] Paused at offset 66; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8]
Paused at offset 68; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] Paused at offset 68; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Paused at offset 69; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 17] Paused at offset 69; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 17]
Paused at offset 70; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 24] Paused at offset 70; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 24]
Paused at offset 71; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 30] Paused at offset 71; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 30]
Paused at offset 72; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 35] Paused at offset 72; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 35]
Paused at offset 73; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 39] Paused at offset 73; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 39]
Paused at offset 74; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 42] Paused at offset 74; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 42]
Paused at offset 75; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 44] Paused at offset 75; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 44]
Paused at offset 76; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 45] Paused at offset 76; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 45]
Paused at offset 77; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [45] Paused at offset 77; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [45]
main returned. main returned.
Testing i64. Testing i64.
Waiting for wasm script. Waiting for wasm script.
Setting 20 breakpoints. Setting 20 breakpoints.
Calling main. Calling main.
Paused at offset 48; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [] Paused at offset 48; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: []
Paused at offset 50; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0] Paused at offset 50; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0]
Paused at offset 52; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1] Paused at offset 52; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1]
Paused at offset 54; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2] Paused at offset 54; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2]
Paused at offset 56; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3] Paused at offset 56; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3]
Paused at offset 58; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4] Paused at offset 58; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4]
Paused at offset 60; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5] Paused at offset 60; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5]
Paused at offset 62; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6] Paused at offset 62; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6]
Paused at offset 64; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7] Paused at offset 64; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7]
Paused at offset 66; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8] Paused at offset 66; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8]
Paused at offset 68; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] Paused at offset 68; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Paused at offset 69; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 17] Paused at offset 69; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 17]
Paused at offset 70; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 24] Paused at offset 70; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 24]
Paused at offset 71; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 30] Paused at offset 71; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 30]
Paused at offset 72; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 35] Paused at offset 72; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 35]
Paused at offset 73; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 39] Paused at offset 73; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 39]
Paused at offset 74; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 42] Paused at offset 74; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 42]
Paused at offset 75; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 44] Paused at offset 75; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 44]
Paused at offset 76; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 45] Paused at offset 76; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 45]
Paused at offset 77; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [45] Paused at offset 77; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [45]
main returned. main returned.
Testing f32. Testing f32.
Waiting for wasm script. Waiting for wasm script.
Setting 20 breakpoints. Setting 20 breakpoints.
Calling main. Calling main.
Paused at offset 48; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [] Paused at offset 48; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: []
Paused at offset 50; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0] Paused at offset 50; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0]
Paused at offset 52; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1] Paused at offset 52; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1]
Paused at offset 54; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2] Paused at offset 54; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2]
Paused at offset 56; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3] Paused at offset 56; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3]
Paused at offset 58; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4] Paused at offset 58; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4]
Paused at offset 60; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5] Paused at offset 60; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5]
Paused at offset 62; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6] Paused at offset 62; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6]
Paused at offset 64; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7] Paused at offset 64; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7]
Paused at offset 66; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8] Paused at offset 66; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8]
Paused at offset 68; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] Paused at offset 68; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Paused at offset 69; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 17] Paused at offset 69; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 17]
Paused at offset 70; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 24] Paused at offset 70; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 24]
Paused at offset 71; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 30] Paused at offset 71; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 30]
Paused at offset 72; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 35] Paused at offset 72; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 35]
Paused at offset 73; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 39] Paused at offset 73; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 39]
Paused at offset 74; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 42] Paused at offset 74; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 42]
Paused at offset 75; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 44] Paused at offset 75; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 44]
Paused at offset 76; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 45] Paused at offset 76; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 45]
Paused at offset 77; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [45] Paused at offset 77; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [45]
main returned. main returned.
Testing f64. Testing f64.
Waiting for wasm script. Waiting for wasm script.
Setting 20 breakpoints. Setting 20 breakpoints.
Calling main. Calling main.
Paused at offset 48; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [] Paused at offset 48; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: []
Paused at offset 50; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0] Paused at offset 50; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0]
Paused at offset 52; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1] Paused at offset 52; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1]
Paused at offset 54; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2] Paused at offset 54; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2]
Paused at offset 56; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3] Paused at offset 56; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3]
Paused at offset 58; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4] Paused at offset 58; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4]
Paused at offset 60; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5] Paused at offset 60; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5]
Paused at offset 62; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6] Paused at offset 62; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6]
Paused at offset 64; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7] Paused at offset 64; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7]
Paused at offset 66; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8] Paused at offset 66; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8]
Paused at offset 68; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] Paused at offset 68; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Paused at offset 69; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 17] Paused at offset 69; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 7, 17]
Paused at offset 70; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 24] Paused at offset 70; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 6, 24]
Paused at offset 71; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 30] Paused at offset 71; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 5, 30]
Paused at offset 72; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 35] Paused at offset 72; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 4, 35]
Paused at offset 73; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 39] Paused at offset 73; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 3, 39]
Paused at offset 74; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 42] Paused at offset 74; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 2, 42]
Paused at offset 75; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 44] Paused at offset 75; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 1, 44]
Paused at offset 76; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 45] Paused at offset 76; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [0, 45]
Paused at offset 77; locals: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [45] Paused at offset 77; local: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; wasm-expression-stack: [45]
main returned. main returned.
Finished! Finished!
...@@ -43,17 +43,8 @@ Protocol.Debugger.onPaused(async msg => { ...@@ -43,17 +43,8 @@ Protocol.Debugger.onPaused(async msg => {
if (scope.type == 'module') continue; if (scope.type == 'module') continue;
var scope_properties = var scope_properties =
await Protocol.Runtime.getProperties({objectId: scope.object.objectId}); await Protocol.Runtime.getProperties({objectId: scope.object.objectId});
if (scope.type == 'local') { let str = scope_properties.result.result.map(elem => getWasmValue(elem.value)).join(', ');
for (var value of scope_properties.result.result) { line.push(`${scope.type}: [${str}]`);
let msg = await Protocol.Runtime.getProperties(
{objectId: value.value.objectId});
let str = msg.result.result.map(elem => getWasmValue(elem.value)).join(', ');
line.push(`${value.name}: [${str}]`);
}
} else {
let str = scope_properties.result.result.map(elem => getWasmValue(elem.value)).join(', ');
line.push(`${scope.type}: [${str}]`);
}
} }
InspectorTest.log(line.join('; ')); InspectorTest.log(line.join('; '));
Protocol.Debugger.resume(); Protocol.Debugger.resume();
......
...@@ -19,7 +19,11 @@ at func (0:143): ...@@ -19,7 +19,11 @@ at func (0:143):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 4 (i32), "var1": 0 (i32), "i64_local": 0 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 4 (i32)
var1: 0 (i32)
i64_local: 0 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at call_func (0:132): at call_func (0:132):
- scope (module): - scope (module):
...@@ -29,7 +33,8 @@ at call_func (0:132): ...@@ -29,7 +33,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -46,7 +51,11 @@ at func (0:145): ...@@ -46,7 +51,11 @@ at func (0:145):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 4 (i32), "var1": 0 (i32), "i64_local": 0 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 4 (i32)
var1: 0 (i32)
i64_local: 0 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 11 (i32) 0: 11 (i32)
at call_func (0:132): at call_func (0:132):
...@@ -57,7 +66,8 @@ at call_func (0:132): ...@@ -57,7 +66,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -74,7 +84,11 @@ at func (0:147): ...@@ -74,7 +84,11 @@ at func (0:147):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 0 (i32), "i64_local": 0 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 0 (i32)
i64_local: 0 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at call_func (0:132): at call_func (0:132):
- scope (module): - scope (module):
...@@ -84,7 +98,8 @@ at call_func (0:132): ...@@ -84,7 +98,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -101,7 +116,11 @@ at func (0:149): ...@@ -101,7 +116,11 @@ at func (0:149):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 0 (i32), "i64_local": 0 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 0 (i32)
i64_local: 0 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 47 (i32) 0: 47 (i32)
at call_func (0:132): at call_func (0:132):
...@@ -112,7 +131,8 @@ at call_func (0:132): ...@@ -112,7 +131,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -129,7 +149,11 @@ at func (0:151): ...@@ -129,7 +149,11 @@ at func (0:151):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": 0 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: 0 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at call_func (0:132): at call_func (0:132):
- scope (module): - scope (module):
...@@ -139,7 +163,8 @@ at call_func (0:132): ...@@ -139,7 +163,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -156,7 +181,11 @@ at func (0:162): ...@@ -156,7 +181,11 @@ at func (0:162):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": 0 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: 0 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 9223372036854775807 (i64) 0: 9223372036854775807 (i64)
at call_func (0:132): at call_func (0:132):
...@@ -167,7 +196,8 @@ at call_func (0:132): ...@@ -167,7 +196,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -184,7 +214,11 @@ at func (0:164): ...@@ -184,7 +214,11 @@ at func (0:164):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": 9223372036854775807 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: 9223372036854775807 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at call_func (0:132): at call_func (0:132):
- scope (module): - scope (module):
...@@ -194,7 +228,8 @@ at call_func (0:132): ...@@ -194,7 +228,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -211,7 +246,11 @@ at func (0:175): ...@@ -211,7 +246,11 @@ at func (0:175):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": 9223372036854775807 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: 9223372036854775807 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: -9223372036854775808 (i64) 0: -9223372036854775808 (i64)
at call_func (0:132): at call_func (0:132):
...@@ -222,7 +261,8 @@ at call_func (0:132): ...@@ -222,7 +261,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -239,7 +279,11 @@ at func (0:177): ...@@ -239,7 +279,11 @@ at func (0:177):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: -9223372036854775808 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at call_func (0:132): at call_func (0:132):
- scope (module): - scope (module):
...@@ -249,7 +293,8 @@ at call_func (0:132): ...@@ -249,7 +293,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -266,7 +311,11 @@ at func (0:179): ...@@ -266,7 +311,11 @@ at func (0:179):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: -9223372036854775808 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 1 (i32) 0: 1 (i32)
at call_func (0:132): at call_func (0:132):
...@@ -277,7 +326,8 @@ at call_func (0:132): ...@@ -277,7 +326,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -294,7 +344,11 @@ at func (0:180): ...@@ -294,7 +344,11 @@ at func (0:180):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: -9223372036854775808 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 1 (f64) 0: 1 (f64)
at call_func (0:132): at call_func (0:132):
...@@ -305,7 +359,8 @@ at call_func (0:132): ...@@ -305,7 +359,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -322,7 +377,11 @@ at func (0:182): ...@@ -322,7 +377,11 @@ at func (0:182):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: -9223372036854775808 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 1 (f64) 0: 1 (f64)
1: 7 (i32) 1: 7 (i32)
...@@ -334,7 +393,8 @@ at call_func (0:132): ...@@ -334,7 +393,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -351,7 +411,11 @@ at func (0:183): ...@@ -351,7 +411,11 @@ at func (0:183):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: -9223372036854775808 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 1 (f64) 0: 1 (f64)
1: 7 (f64) 1: 7 (f64)
...@@ -363,7 +427,8 @@ at call_func (0:132): ...@@ -363,7 +427,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -380,7 +445,11 @@ at func (0:184): ...@@ -380,7 +445,11 @@ at func (0:184):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: -9223372036854775808 (i64)
unicode☼f64: 0 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 0.14285714285714285 (f64) 0: 0.14285714285714285 (f64)
at call_func (0:132): at call_func (0:132):
...@@ -391,7 +460,8 @@ at call_func (0:132): ...@@ -391,7 +460,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -408,7 +478,11 @@ at func (0:186): ...@@ -408,7 +478,11 @@ at func (0:186):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0.14285714285714285 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: -9223372036854775808 (i64)
unicode☼f64: 0.14285714285714285 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at call_func (0:132): at call_func (0:132):
- scope (module): - scope (module):
...@@ -418,7 +492,8 @@ at call_func (0:132): ...@@ -418,7 +492,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -435,7 +510,11 @@ at func (0:188): ...@@ -435,7 +510,11 @@ at func (0:188):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0.14285714285714285 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: -9223372036854775808 (i64)
unicode☼f64: 0.14285714285714285 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 15 (i32) 0: 15 (i32)
at call_func (0:132): at call_func (0:132):
...@@ -446,7 +525,8 @@ at call_func (0:132): ...@@ -446,7 +525,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -463,7 +543,11 @@ at func (0:190): ...@@ -463,7 +543,11 @@ at func (0:190):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 15 (i32) globals: "exported_global": 15 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f64), "i32Arg": 11 (i32), "var1": 47 (i32), "i64_local": -9223372036854775808 (i64), "unicode☼f64": 0.14285714285714285 (f64) 0: 0 (f64)
i32Arg: 11 (i32)
var1: 47 (i32)
i64_local: -9223372036854775808 (i64)
unicode☼f64: 0.14285714285714285 (f64)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at call_func (0:132): at call_func (0:132):
- scope (module): - scope (module):
...@@ -473,7 +557,8 @@ at call_func (0:132): ...@@ -473,7 +557,8 @@ at call_func (0:132):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 15 (i32) globals: "exported_global": 15 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -490,7 +575,8 @@ at call_func (0:134): ...@@ -490,7 +575,8 @@ at call_func (0:134):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 15 (i32) globals: "exported_global": 15 (i32)
- scope (local): - scope (local):
locals: "var0": 4 (i32), "var1": 7.199999809265137 (f32) var0: 4 (i32)
var1: 7.199999809265137 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
......
...@@ -20,7 +20,8 @@ at C (interpreted) (0:159): ...@@ -20,7 +20,8 @@ at C (interpreted) (0:159):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "i32_arg": 42 (i32), "i32_local": 0 (i32) i32_arg: 42 (i32)
i32_local: 0 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at B (liftoff) (0:150): at B (liftoff) (0:150):
- scope (module): - scope (module):
...@@ -30,7 +31,11 @@ at B (liftoff) (0:150): ...@@ -30,7 +31,11 @@ at B (liftoff) (0:150):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f32), "i32_arg": 42 (i32), "i32_local": 0 (i32), "f32_local": 7.199999809265137 (f32), "var5": 0 (f32) 0: 0 (f32)
i32_arg: 42 (i32)
i32_local: 0 (i32)
f32_local: 7.199999809265137 (f32)
var5: 0 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 42 (i32) 0: 42 (i32)
1: 3 (i32) 1: 3 (i32)
...@@ -42,7 +47,7 @@ at A (liftoff) (0:128): ...@@ -42,7 +47,7 @@ at A (liftoff) (0:128):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 42 (i32) var0: 42 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -59,7 +64,8 @@ at C (interpreted) (0:161): ...@@ -59,7 +64,8 @@ at C (interpreted) (0:161):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "i32_arg": 42 (i32), "i32_local": 0 (i32) i32_arg: 42 (i32)
i32_local: 0 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 42 (i32) 0: 42 (i32)
at B (liftoff) (0:150): at B (liftoff) (0:150):
...@@ -70,7 +76,11 @@ at B (liftoff) (0:150): ...@@ -70,7 +76,11 @@ at B (liftoff) (0:150):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f32), "i32_arg": 42 (i32), "i32_local": 0 (i32), "f32_local": 7.199999809265137 (f32), "var5": 0 (f32) 0: 0 (f32)
i32_arg: 42 (i32)
i32_local: 0 (i32)
f32_local: 7.199999809265137 (f32)
var5: 0 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 42 (i32) 0: 42 (i32)
1: 3 (i32) 1: 3 (i32)
...@@ -82,7 +92,7 @@ at A (liftoff) (0:128): ...@@ -82,7 +92,7 @@ at A (liftoff) (0:128):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 0 (i32) globals: "exported_global": 0 (i32)
- scope (local): - scope (local):
locals: "var0": 42 (i32) var0: 42 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -99,7 +109,8 @@ at C (interpreted) (0:163): ...@@ -99,7 +109,8 @@ at C (interpreted) (0:163):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "i32_arg": 42 (i32), "i32_local": 0 (i32) i32_arg: 42 (i32)
i32_local: 0 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at B (liftoff) (0:150): at B (liftoff) (0:150):
- scope (module): - scope (module):
...@@ -109,7 +120,11 @@ at B (liftoff) (0:150): ...@@ -109,7 +120,11 @@ at B (liftoff) (0:150):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f32), "i32_arg": 42 (i32), "i32_local": 0 (i32), "f32_local": 7.199999809265137 (f32), "var5": 0 (f32) 0: 0 (f32)
i32_arg: 42 (i32)
i32_local: 0 (i32)
f32_local: 7.199999809265137 (f32)
var5: 0 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 42 (i32) 0: 42 (i32)
1: 3 (i32) 1: 3 (i32)
...@@ -121,7 +136,7 @@ at A (liftoff) (0:128): ...@@ -121,7 +136,7 @@ at A (liftoff) (0:128):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "var0": 42 (i32) var0: 42 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -138,7 +153,8 @@ at C (interpreted) (0:165): ...@@ -138,7 +153,8 @@ at C (interpreted) (0:165):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "i32_arg": 42 (i32), "i32_local": 0 (i32) i32_arg: 42 (i32)
i32_local: 0 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 47 (i32) 0: 47 (i32)
at B (liftoff) (0:150): at B (liftoff) (0:150):
...@@ -149,7 +165,11 @@ at B (liftoff) (0:150): ...@@ -149,7 +165,11 @@ at B (liftoff) (0:150):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f32), "i32_arg": 42 (i32), "i32_local": 0 (i32), "f32_local": 7.199999809265137 (f32), "var5": 0 (f32) 0: 0 (f32)
i32_arg: 42 (i32)
i32_local: 0 (i32)
f32_local: 7.199999809265137 (f32)
var5: 0 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 42 (i32) 0: 42 (i32)
1: 3 (i32) 1: 3 (i32)
...@@ -161,7 +181,7 @@ at A (liftoff) (0:128): ...@@ -161,7 +181,7 @@ at A (liftoff) (0:128):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "var0": 42 (i32) var0: 42 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -178,7 +198,8 @@ at C (interpreted) (0:167): ...@@ -178,7 +198,8 @@ at C (interpreted) (0:167):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "i32_arg": 42 (i32), "i32_local": 47 (i32) i32_arg: 42 (i32)
i32_local: 47 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at B (liftoff) (0:150): at B (liftoff) (0:150):
- scope (module): - scope (module):
...@@ -188,7 +209,11 @@ at B (liftoff) (0:150): ...@@ -188,7 +209,11 @@ at B (liftoff) (0:150):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f32), "i32_arg": 42 (i32), "i32_local": 0 (i32), "f32_local": 7.199999809265137 (f32), "var5": 0 (f32) 0: 0 (f32)
i32_arg: 42 (i32)
i32_local: 0 (i32)
f32_local: 7.199999809265137 (f32)
var5: 0 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 42 (i32) 0: 42 (i32)
1: 3 (i32) 1: 3 (i32)
...@@ -200,7 +225,7 @@ at A (liftoff) (0:128): ...@@ -200,7 +225,7 @@ at A (liftoff) (0:128):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "var0": 42 (i32) var0: 42 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -217,7 +242,11 @@ at B (liftoff) (0:152): ...@@ -217,7 +242,11 @@ at B (liftoff) (0:152):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f32), "i32_arg": 42 (i32), "i32_local": 0 (i32), "f32_local": 7.199999809265137 (f32), "var5": 0 (f32) 0: 0 (f32)
i32_arg: 42 (i32)
i32_local: 0 (i32)
f32_local: 7.199999809265137 (f32)
var5: 0 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 42 (i32) 0: 42 (i32)
1: 3 (i32) 1: 3 (i32)
...@@ -229,7 +258,7 @@ at A (liftoff) (0:128): ...@@ -229,7 +258,7 @@ at A (liftoff) (0:128):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "var0": 42 (i32) var0: 42 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -246,7 +275,11 @@ at B (liftoff) (0:153): ...@@ -246,7 +275,11 @@ at B (liftoff) (0:153):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f32), "i32_arg": 42 (i32), "i32_local": 0 (i32), "f32_local": 7.199999809265137 (f32), "var5": 0 (f32) 0: 0 (f32)
i32_arg: 42 (i32)
i32_local: 0 (i32)
f32_local: 7.199999809265137 (f32)
var5: 0 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 42 (i32) 0: 42 (i32)
at A (liftoff) (0:128): at A (liftoff) (0:128):
...@@ -257,7 +290,7 @@ at A (liftoff) (0:128): ...@@ -257,7 +290,7 @@ at A (liftoff) (0:128):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "var0": 42 (i32) var0: 42 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -274,7 +307,11 @@ at B (liftoff) (0:154): ...@@ -274,7 +307,11 @@ at B (liftoff) (0:154):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "0": 0 (f32), "i32_arg": 42 (i32), "i32_local": 0 (i32), "f32_local": 7.199999809265137 (f32), "var5": 0 (f32) 0: 0 (f32)
i32_arg: 42 (i32)
i32_local: 0 (i32)
f32_local: 7.199999809265137 (f32)
var5: 0 (f32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at A (liftoff) (0:128): at A (liftoff) (0:128):
- scope (module): - scope (module):
...@@ -284,7 +321,7 @@ at A (liftoff) (0:128): ...@@ -284,7 +321,7 @@ at A (liftoff) (0:128):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "var0": 42 (i32) var0: 42 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
...@@ -301,7 +338,7 @@ at A (liftoff) (0:130): ...@@ -301,7 +338,7 @@ at A (liftoff) (0:130):
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] } exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32) globals: "exported_global": 42 (i32)
- scope (local): - scope (local):
locals: "var0": 42 (i32) var0: 42 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
- scope (global): - scope (global):
......
...@@ -15,7 +15,7 @@ at wasm_B (0:56): ...@@ -15,7 +15,7 @@ at wasm_B (0:56):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 3 (i32) var0: 3 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -40,7 +40,7 @@ at wasm_B (0:56): ...@@ -40,7 +40,7 @@ at wasm_B (0:56):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 3 (i32) var0: 3 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -51,7 +51,7 @@ at wasm_B (0:45): ...@@ -51,7 +51,7 @@ at wasm_B (0:45):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 3 (i32) var0: 3 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -62,7 +62,7 @@ at wasm_B (0:47): ...@@ -62,7 +62,7 @@ at wasm_B (0:47):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 3 (i32) var0: 3 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 3 (i32) 0: 3 (i32)
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -74,7 +74,7 @@ at wasm_B (0:49): ...@@ -74,7 +74,7 @@ at wasm_B (0:49):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 3 (i32) var0: 3 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -85,7 +85,7 @@ at wasm_B (0:51): ...@@ -85,7 +85,7 @@ at wasm_B (0:51):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 3 (i32) var0: 3 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 3 (i32) 0: 3 (i32)
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -97,7 +97,7 @@ at wasm_B (0:53): ...@@ -97,7 +97,7 @@ at wasm_B (0:53):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 3 (i32) var0: 3 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 3 (i32) 0: 3 (i32)
1: 1 (i32) 1: 1 (i32)
...@@ -110,7 +110,7 @@ at wasm_B (0:54): ...@@ -110,7 +110,7 @@ at wasm_B (0:54):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 3 (i32) var0: 3 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 2 (i32) 0: 2 (i32)
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -127,7 +127,7 @@ at wasm_B (0:56): ...@@ -127,7 +127,7 @@ at wasm_B (0:56):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 2 (i32) var0: 2 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -143,7 +143,7 @@ at wasm_B (0:56): ...@@ -143,7 +143,7 @@ at wasm_B (0:56):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 2 (i32) var0: 2 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -154,7 +154,7 @@ at wasm_B (0:45): ...@@ -154,7 +154,7 @@ at wasm_B (0:45):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 2 (i32) var0: 2 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -165,7 +165,7 @@ at wasm_B (0:47): ...@@ -165,7 +165,7 @@ at wasm_B (0:47):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 2 (i32) var0: 2 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 2 (i32) 0: 2 (i32)
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -177,7 +177,7 @@ at wasm_B (0:49): ...@@ -177,7 +177,7 @@ at wasm_B (0:49):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 2 (i32) var0: 2 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -188,7 +188,7 @@ at wasm_B (0:51): ...@@ -188,7 +188,7 @@ at wasm_B (0:51):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 2 (i32) var0: 2 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 2 (i32) 0: 2 (i32)
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -200,7 +200,7 @@ at wasm_B (0:53): ...@@ -200,7 +200,7 @@ at wasm_B (0:53):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 2 (i32) var0: 2 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 2 (i32) 0: 2 (i32)
1: 1 (i32) 1: 1 (i32)
...@@ -213,7 +213,7 @@ at wasm_B (0:54): ...@@ -213,7 +213,7 @@ at wasm_B (0:54):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 2 (i32) var0: 2 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 1 (i32) 0: 1 (i32)
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -230,7 +230,7 @@ at wasm_B (0:56): ...@@ -230,7 +230,7 @@ at wasm_B (0:56):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 1 (i32) var0: 1 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -246,7 +246,7 @@ at wasm_B (0:56): ...@@ -246,7 +246,7 @@ at wasm_B (0:56):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 1 (i32) var0: 1 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -257,7 +257,7 @@ at wasm_B (0:45): ...@@ -257,7 +257,7 @@ at wasm_B (0:45):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 1 (i32) var0: 1 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -268,7 +268,7 @@ at wasm_B (0:47): ...@@ -268,7 +268,7 @@ at wasm_B (0:47):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 1 (i32) var0: 1 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 1 (i32) 0: 1 (i32)
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -280,7 +280,7 @@ at wasm_B (0:49): ...@@ -280,7 +280,7 @@ at wasm_B (0:49):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 1 (i32) var0: 1 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -291,7 +291,7 @@ at wasm_B (0:51): ...@@ -291,7 +291,7 @@ at wasm_B (0:51):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 1 (i32) var0: 1 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 1 (i32) 0: 1 (i32)
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -303,7 +303,7 @@ at wasm_B (0:53): ...@@ -303,7 +303,7 @@ at wasm_B (0:53):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 1 (i32) var0: 1 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 1 (i32) 0: 1 (i32)
1: 1 (i32) 1: 1 (i32)
...@@ -316,7 +316,7 @@ at wasm_B (0:54): ...@@ -316,7 +316,7 @@ at wasm_B (0:54):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 1 (i32) var0: 1 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 0 (i32) 0: 0 (i32)
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -333,7 +333,7 @@ at wasm_B (0:56): ...@@ -333,7 +333,7 @@ at wasm_B (0:56):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 0 (i32) var0: 0 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -349,7 +349,7 @@ at wasm_B (0:56): ...@@ -349,7 +349,7 @@ at wasm_B (0:56):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 0 (i32) var0: 0 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -360,7 +360,7 @@ at wasm_B (0:45): ...@@ -360,7 +360,7 @@ at wasm_B (0:45):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 0 (i32) var0: 0 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
...@@ -371,7 +371,7 @@ at wasm_B (0:47): ...@@ -371,7 +371,7 @@ at wasm_B (0:47):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 0 (i32) var0: 0 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
0: 0 (i32) 0: 0 (i32)
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -383,7 +383,7 @@ at wasm_B (0:61): ...@@ -383,7 +383,7 @@ at wasm_B (0:61):
- scope (module): - scope (module):
instance: exports: "main" (Function) instance: exports: "main" (Function)
- scope (local): - scope (local):
locals: "var0": 0 (i32) var0: 0 (i32)
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
at (anonymous) (0:17): at (anonymous) (0:17):
-- skipped -- skipped
......
...@@ -5,7 +5,11 @@ Paused at: ...@@ -5,7 +5,11 @@ Paused at:
--- 0 --- --- 0 ---
Script wasm://wasm/a9a86c5e byte offset 46: Wasm opcode 0x6d Script wasm://wasm/a9a86c5e byte offset 46: Wasm opcode 0x6d
scope at div (0:46): scope at div (0:46):
locals: "a": 1, "b": 0, "unused": 4711, "local_zero": 0, "local_const_11": 11 a: 1
b: 0
unused: 4711
local_zero: 0
local_const_11: 11
--- 1 --- --- 1 ---
try { try {
instance.exports.#div(1, 0, 4711); // traps (div by zero) instance.exports.#div(1, 0, 4711); // traps (div by zero)
...@@ -31,7 +35,11 @@ Paused at: ...@@ -31,7 +35,11 @@ Paused at:
--- 0 --- --- 0 ---
Script wasm://wasm/a9a86c5e byte offset 46: Wasm opcode 0x6d Script wasm://wasm/a9a86c5e byte offset 46: Wasm opcode 0x6d
scope at div (0:46): scope at div (0:46):
locals: "a": -2147483648, "b": -1, "unused": 4711, "local_zero": 0, "local_const_11": 11 a: -2147483648
b: -1
unused: 4711
local_zero: 0
local_const_11: 11
--- 1 --- --- 1 ---
try { try {
instance.exports.#div(0x80000000, -1, 4711); // traps (unrepresentable) instance.exports.#div(0x80000000, -1, 4711); // traps (unrepresentable)
......
...@@ -92,11 +92,7 @@ async function printLocalScope(frame) { ...@@ -92,11 +92,7 @@ async function printLocalScope(frame) {
let properties = await Protocol.Runtime.getProperties( let properties = await Protocol.Runtime.getProperties(
{'objectId': scope.object.objectId}); {'objectId': scope.object.objectId});
for (let value of properties.result.result) { for (let value of properties.result.result) {
let msg = await Protocol.Runtime.getProperties( InspectorTest.log(` ${value.name}: ${value.value.value}`);
{objectId: value.value.objectId});
let prop_str = p => `"${p.name}": ${p.value.value}`;
let value_str = msg.result.result.map(prop_str).join(', ');
InspectorTest.log(` ${value.name}: ${value_str}`);
} }
} }
} }
...@@ -12,7 +12,7 @@ at wasm_B (0:60): ...@@ -12,7 +12,7 @@ at wasm_B (0:60):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":3} {"var0":3}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":1024} {"0":1024}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -24,14 +24,14 @@ at wasm_A (0:39): ...@@ -24,14 +24,14 @@ at wasm_A (0:39):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1024} {"var0":1024}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at wasm_B (0:60): at wasm_B (0:60):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":3} {"var0":3}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -43,14 +43,14 @@ at wasm_A (0:40): ...@@ -43,14 +43,14 @@ at wasm_A (0:40):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1024} {"var0":1024}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at wasm_B (0:60): at wasm_B (0:60):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":3} {"var0":3}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -62,7 +62,7 @@ at wasm_B (0:62): ...@@ -62,7 +62,7 @@ at wasm_B (0:62):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":3} {"var0":3}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -74,7 +74,7 @@ at wasm_B (0:60): ...@@ -74,7 +74,7 @@ at wasm_B (0:60):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":2} {"var0":2}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":1024} {"0":1024}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -86,7 +86,7 @@ at wasm_B (0:62): ...@@ -86,7 +86,7 @@ at wasm_B (0:62):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":2} {"var0":2}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -98,7 +98,7 @@ at wasm_B (0:46): ...@@ -98,7 +98,7 @@ at wasm_B (0:46):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":2} {"var0":2}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -110,7 +110,7 @@ at wasm_B (0:60): ...@@ -110,7 +110,7 @@ at wasm_B (0:60):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":1024} {"0":1024}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -122,14 +122,14 @@ at wasm_A (0:39): ...@@ -122,14 +122,14 @@ at wasm_A (0:39):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1024} {"var0":1024}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at wasm_B (0:60): at wasm_B (0:60):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -141,7 +141,7 @@ at wasm_B (0:62): ...@@ -141,7 +141,7 @@ at wasm_B (0:62):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -153,7 +153,7 @@ at wasm_B (0:46): ...@@ -153,7 +153,7 @@ at wasm_B (0:46):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -165,7 +165,7 @@ at wasm_B (0:48): ...@@ -165,7 +165,7 @@ at wasm_B (0:48):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":1} {"0":1}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -177,7 +177,7 @@ at wasm_B (0:50): ...@@ -177,7 +177,7 @@ at wasm_B (0:50):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -189,7 +189,7 @@ at wasm_B (0:52): ...@@ -189,7 +189,7 @@ at wasm_B (0:52):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":1} {"0":1}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -201,7 +201,7 @@ at wasm_B (0:54): ...@@ -201,7 +201,7 @@ at wasm_B (0:54):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":1,"1":1} {"0":1,"1":1}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -213,7 +213,7 @@ at wasm_B (0:55): ...@@ -213,7 +213,7 @@ at wasm_B (0:55):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":0} {"0":0}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -225,7 +225,7 @@ at wasm_B (0:57): ...@@ -225,7 +225,7 @@ at wasm_B (0:57):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":0} {"var0":0}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -237,7 +237,7 @@ at wasm_B (0:60): ...@@ -237,7 +237,7 @@ at wasm_B (0:60):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":0} {"var0":0}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":1024} {"0":1024}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -249,14 +249,14 @@ at wasm_A (0:39): ...@@ -249,14 +249,14 @@ at wasm_A (0:39):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1024} {"var0":1024}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at wasm_B (0:60): at wasm_B (0:60):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":0} {"var0":0}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -268,14 +268,14 @@ at wasm_A (0:40): ...@@ -268,14 +268,14 @@ at wasm_A (0:40):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1024} {"var0":1024}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at wasm_B (0:60): at wasm_B (0:60):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":0} {"var0":0}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -287,14 +287,14 @@ at wasm_A (0:41): ...@@ -287,14 +287,14 @@ at wasm_A (0:41):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1024} {"var0":1024}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at wasm_B (0:60): at wasm_B (0:60):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":0} {"var0":0}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -306,7 +306,7 @@ at wasm_B (0:62): ...@@ -306,7 +306,7 @@ at wasm_B (0:62):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":0} {"var0":0}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
......
...@@ -113,11 +113,7 @@ async function waitForPauseAndStep(stepAction) { ...@@ -113,11 +113,7 @@ async function waitForPauseAndStep(stepAction) {
functionDeclaration: 'function() { return this; }', functionDeclaration: 'function() { return this; }',
returnByValue: true returnByValue: true
}); });
if (scope.type === 'local') { InspectorTest.log(` ${JSON.stringify(value)}`);
InspectorTest.log(` locals: ${JSON.stringify(value.locals)}`);
} else {
InspectorTest.log(` ${JSON.stringify(value)}`);
}
} }
} }
} }
......
...@@ -15,7 +15,7 @@ at wasm_B (0:54): ...@@ -15,7 +15,7 @@ at wasm_B (0:54):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":4} {"var0":4}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":3} {"0":3}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -27,7 +27,7 @@ at wasm_B (0:56): ...@@ -27,7 +27,7 @@ at wasm_B (0:56):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":3} {"var0":3}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -39,13 +39,14 @@ at wasm_A (0:38): ...@@ -39,13 +39,14 @@ at wasm_A (0:38):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
{}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at wasm_B (0:56): at wasm_B (0:56):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":3} {"var0":3}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -57,13 +58,14 @@ at wasm_A (0:39): ...@@ -57,13 +58,14 @@ at wasm_A (0:39):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
{}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at wasm_B (0:56): at wasm_B (0:56):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":3} {"var0":3}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -75,7 +77,7 @@ at wasm_B (0:58): ...@@ -75,7 +77,7 @@ at wasm_B (0:58):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":3} {"var0":3}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -87,7 +89,7 @@ at wasm_B (0:54): ...@@ -87,7 +89,7 @@ at wasm_B (0:54):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":3} {"var0":3}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":2} {"0":2}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -99,7 +101,7 @@ at wasm_B (0:56): ...@@ -99,7 +101,7 @@ at wasm_B (0:56):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":2} {"var0":2}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -111,7 +113,7 @@ at wasm_B (0:58): ...@@ -111,7 +113,7 @@ at wasm_B (0:58):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":2} {"var0":2}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -123,7 +125,7 @@ at wasm_B (0:54): ...@@ -123,7 +125,7 @@ at wasm_B (0:54):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":2} {"var0":2}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":1} {"0":1}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -135,7 +137,7 @@ at wasm_B (0:56): ...@@ -135,7 +137,7 @@ at wasm_B (0:56):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -147,13 +149,14 @@ at wasm_A (0:38): ...@@ -147,13 +149,14 @@ at wasm_A (0:38):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
{}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at wasm_B (0:56): at wasm_B (0:56):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -165,7 +168,7 @@ at wasm_B (0:58): ...@@ -165,7 +168,7 @@ at wasm_B (0:58):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -177,7 +180,7 @@ at wasm_B (0:45): ...@@ -177,7 +180,7 @@ at wasm_B (0:45):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -189,7 +192,7 @@ at wasm_B (0:47): ...@@ -189,7 +192,7 @@ at wasm_B (0:47):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":1} {"0":1}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -201,7 +204,7 @@ at wasm_B (0:49): ...@@ -201,7 +204,7 @@ at wasm_B (0:49):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -213,7 +216,7 @@ at wasm_B (0:51): ...@@ -213,7 +216,7 @@ at wasm_B (0:51):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":1} {"0":1}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -225,7 +228,7 @@ at wasm_B (0:53): ...@@ -225,7 +228,7 @@ at wasm_B (0:53):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":1,"1":1} {"0":1,"1":1}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -237,7 +240,7 @@ at wasm_B (0:54): ...@@ -237,7 +240,7 @@ at wasm_B (0:54):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":1} {"var0":1}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{"0":0} {"0":0}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -249,7 +252,7 @@ at wasm_B (0:56): ...@@ -249,7 +252,7 @@ at wasm_B (0:56):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":0} {"var0":0}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -261,13 +264,14 @@ at wasm_A (0:38): ...@@ -261,13 +264,14 @@ at wasm_A (0:38):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
{}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at wasm_B (0:56): at wasm_B (0:56):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":0} {"var0":0}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -279,13 +283,14 @@ at wasm_A (0:39): ...@@ -279,13 +283,14 @@ at wasm_A (0:39):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
{}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at wasm_B (0:56): at wasm_B (0:56):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":0} {"var0":0}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -297,13 +302,14 @@ at wasm_A (0:40): ...@@ -297,13 +302,14 @@ at wasm_A (0:40):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
{}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at wasm_B (0:56): at wasm_B (0:56):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":0} {"var0":0}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
...@@ -315,7 +321,7 @@ at wasm_B (0:58): ...@@ -315,7 +321,7 @@ at wasm_B (0:58):
- scope (module): - scope (module):
-- skipped -- skipped
- scope (local): - scope (local):
locals: {"var0":0} {"var0":0}
- scope (wasm-expression-stack): - scope (wasm-expression-stack):
{} {}
at (anonymous) (0:17): at (anonymous) (0:17):
......
...@@ -112,12 +112,7 @@ async function waitForPauseAndStep(stepAction) { ...@@ -112,12 +112,7 @@ async function waitForPauseAndStep(stepAction) {
returnByValue: true returnByValue: true
}); });
if (scope.type === 'local') { InspectorTest.log(` ${JSON.stringify(value)}`);
if (value.locals)
InspectorTest.log(` locals: ${JSON.stringify(value.locals)}`);
} else {
InspectorTest.log(` ${JSON.stringify(value)}`);
}
} }
} }
} }
......
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