Commit 1d7579b5 authored by Benedikt Meurer's avatar Benedikt Meurer Committed by Commit Bot

[wasm] Remove "function tables" from the scope chains.

Building these objects takes a lot of time and memory for realistic
applications and exposing them via the Scope view in DevTools isn't
practical either. We have a replacement in the Console now, and if
this needs more exposure we can think about other, more scalable
ways with better UX.

Fixed: v8:10986
Bug: chromium:1141781
Change-Id: I6177d63a987749889a9880cf0738031191eb5705
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2507696
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70894}
parent 02b79c2b
......@@ -51,60 +51,6 @@ Handle<String> PrintFToOneByteString(Isolate* isolate, const char* format,
: isolate->factory()->NewStringFromOneByte(name).ToHandleChecked();
}
MaybeHandle<JSObject> CreateFunctionTablesObject(
Handle<WasmInstanceObject> instance) {
Isolate* isolate = instance->GetIsolate();
auto tables = handle(instance->tables(), isolate);
if (tables->length() == 0) return MaybeHandle<JSObject>();
const char* table_label = "table%d";
Handle<JSObject> tables_obj = isolate->factory()->NewJSObjectWithNullProto();
for (int table_index = 0; table_index < tables->length(); ++table_index) {
auto func_table =
handle(WasmTableObject::cast(tables->get(table_index)), isolate);
if (!IsSubtypeOf(func_table->type(), kWasmFuncRef, instance->module()))
continue;
Handle<String> table_name;
if (!WasmInstanceObject::GetTableNameOrNull(isolate, instance, table_index)
.ToHandle(&table_name)) {
table_name =
PrintFToOneByteString<true>(isolate, table_label, table_index);
}
Handle<JSObject> func_table_obj =
isolate->factory()->NewJSObjectWithNullProto();
JSObject::AddProperty(isolate, tables_obj, table_name, func_table_obj,
NONE);
for (int i = 0; i < func_table->current_length(); ++i) {
Handle<Object> func = WasmTableObject::Get(isolate, func_table, i);
DCHECK(!WasmCapiFunction::IsWasmCapiFunction(*func));
if (func->IsNull(isolate)) continue;
Handle<String> func_name;
Handle<JSObject> func_obj =
isolate->factory()->NewJSObjectWithNullProto();
if (WasmExportedFunction::IsWasmExportedFunction(*func)) {
auto target_func = Handle<WasmExportedFunction>::cast(func);
auto target_instance = handle(target_func->instance(), isolate);
auto module = handle(target_instance->module_object(), isolate);
func_name = WasmModuleObject::GetFunctionName(
isolate, module, target_func->function_index());
} else if (WasmJSFunction::IsWasmJSFunction(*func)) {
auto target_func = Handle<JSFunction>::cast(func);
func_name = JSFunction::GetName(target_func);
if (func_name->length() == 0) {
func_name = isolate->factory()->InternalizeUtf8String("anonymous");
}
}
JSObject::AddProperty(isolate, func_obj, func_name, func, NONE);
JSObject::AddDataElement(func_table_obj, i, func_obj, NONE);
}
}
return tables_obj;
}
Handle<Object> WasmValueToValueObject(Isolate* isolate, WasmValue value) {
Handle<ByteArray> bytes;
switch (value.type().kind()) {
......@@ -272,14 +218,6 @@ Handle<JSObject> GetModuleScopeObject(Handle<WasmInstanceObject> instance) {
NONE);
}
Handle<JSObject> function_tables_obj;
if (CreateFunctionTablesObject(instance).ToHandle(&function_tables_obj)) {
Handle<String> tables_name = isolate->factory()->InternalizeString(
StaticCharVector("function tables"));
JSObject::AddProperty(isolate, module_scope_object, tables_name,
function_tables_obj, NONE);
}
auto& globals = instance->module()->globals;
if (globals.size() > 0) {
Handle<JSObject> globals_obj =
......
......@@ -15,8 +15,6 @@ at func (0:147):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -31,8 +29,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -49,8 +45,6 @@ at func (0:149):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -66,8 +60,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -84,8 +76,6 @@ at func (0:151):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -100,8 +90,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -118,8 +106,6 @@ at func (0:153):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -135,8 +121,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -153,8 +137,6 @@ at func (0:155):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -169,8 +151,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -187,8 +167,6 @@ at func (0:166):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -204,8 +182,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -222,8 +198,6 @@ at func (0:168):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -238,8 +212,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -256,8 +228,6 @@ at func (0:179):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -273,8 +243,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -291,8 +259,6 @@ at func (0:181):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -307,8 +273,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -325,8 +289,6 @@ at func (0:183):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -342,8 +304,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -360,8 +320,6 @@ at func (0:184):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -377,8 +335,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -395,8 +351,6 @@ at func (0:186):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -413,8 +367,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -431,8 +383,6 @@ at func (0:187):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -449,8 +399,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -467,8 +415,6 @@ at func (0:188):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -484,8 +430,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -502,8 +446,6 @@ at func (0:190):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -518,8 +460,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -536,8 +476,6 @@ at func (0:192):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -553,8 +491,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -571,8 +507,6 @@ at func (0:194):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -588,8 +522,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -606,8 +538,6 @@ at func (0:196):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -622,8 +552,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -640,8 +568,6 @@ at func (0:198):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -657,8 +583,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -675,8 +599,6 @@ at func (0:199):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -692,8 +614,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -710,8 +630,6 @@ at func (0:201):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -726,8 +644,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -744,8 +660,6 @@ at func (0:203):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f64)
......@@ -761,8 +675,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 4 (i32)
......@@ -779,8 +691,6 @@ at func (0:205):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 15 (i32)
- scope (local):
0: 0 (f64)
......@@ -795,8 +705,6 @@ at call_func (0:132):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 15 (i32)
- scope (local):
var0: 4 (i32)
......@@ -813,8 +721,6 @@ at call_func (0:134):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, call_func: function 0() { [native code] }
globals: "exported_global": 15 (i32)
- scope (local):
var0: 4 (i32)
......
......@@ -15,8 +15,6 @@ at C (interpreted) (0:169):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
i32_arg: 42 (i32)
......@@ -27,8 +25,6 @@ at B (liftoff) (0:158):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f32)
......@@ -44,8 +40,6 @@ at A (liftoff) (0:128):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 42 (i32)
......@@ -61,8 +55,6 @@ at C (interpreted) (0:171):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
i32_arg: 42 (i32)
......@@ -74,8 +66,6 @@ at B (liftoff) (0:158):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
0: 0 (f32)
......@@ -91,8 +81,6 @@ at A (liftoff) (0:128):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 0 (i32)
- scope (local):
var0: 42 (i32)
......@@ -108,8 +96,6 @@ at C (interpreted) (0:173):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
i32_arg: 42 (i32)
......@@ -120,8 +106,6 @@ at B (liftoff) (0:158):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
0: 0 (f32)
......@@ -137,8 +121,6 @@ at A (liftoff) (0:128):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
var0: 42 (i32)
......@@ -154,8 +136,6 @@ at C (interpreted) (0:175):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
i32_arg: 42 (i32)
......@@ -167,8 +147,6 @@ at B (liftoff) (0:158):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
0: 0 (f32)
......@@ -184,8 +162,6 @@ at A (liftoff) (0:128):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
var0: 42 (i32)
......@@ -201,8 +177,6 @@ at C (interpreted) (0:177):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
i32_arg: 42 (i32)
......@@ -213,8 +187,6 @@ at B (liftoff) (0:158):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
0: 0 (f32)
......@@ -230,8 +202,6 @@ at A (liftoff) (0:128):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
var0: 42 (i32)
......@@ -247,8 +217,6 @@ at B (liftoff) (0:160):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
0: 0 (f32)
......@@ -264,8 +232,6 @@ at A (liftoff) (0:128):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
var0: 42 (i32)
......@@ -281,8 +247,6 @@ at B (liftoff) (0:161):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
0: 0 (f32)
......@@ -297,8 +261,6 @@ at A (liftoff) (0:128):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
var0: 42 (i32)
......@@ -314,8 +276,6 @@ at B (liftoff) (0:162):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
0: 0 (f32)
......@@ -329,8 +289,6 @@ at A (liftoff) (0:128):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
var0: 42 (i32)
......@@ -346,8 +304,6 @@ at A (liftoff) (0:130):
- scope (module):
instance: exports: "exported_global" (Global), "exported_memory" (Memory), "exported_table" (Table), "main" (Function)
exported_memory: Uint8Array(65536)
function tables:
exported_table: js_func: function js_func() { [native code] }, anonymous: function () { [native code] }, A (liftoff): function 0() { [native code] }
globals: "exported_global": 42 (i32)
- scope (local):
var0: 42 (i32)
......
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