Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: src/compiler/wasm-compiler.cc

Issue 1912103002: [wasm] Store function names in the wasm object (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@wasm-offset-table-2
Patch Set: fix gcmole and signed/unsigned comparison issue Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler/wasm-compiler.cc
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
index 69699eacf48c8b25a78e37b0fe00b153f6286dc2..f26e22f5398d494180f3d10c2b41355f1505ce3d 100644
--- a/src/compiler/wasm-compiler.cc
+++ b/src/compiler/wasm-compiler.cc
@@ -2966,8 +2966,9 @@ Handle<Code> CompileWasmFunction(wasm::ErrorThrower& thrower, Isolate* isolate,
}
CompilationInfo info(func_name, isolate, &zone, flags);
- Handle<Code> code = Pipeline::GenerateWASMCode(&info, descriptor, &graph,
- &source_position_table);
+ Handle<Code> code = Pipeline::GenerateWASMCode(
+ &info, descriptor, &graph, &source_position_table,
+ module_env->instance->js_object, function.func_index);
buffer.Dispose();

Powered by Google App Engine
This is Rietveld 408576698