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

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

Issue 2685163006: [inspector] migrate set/remove BreakPoint to debug-interface.h (Closed)
Patch Set: added a test, ready for review Created 3 years, 10 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 9754bd6805f716748a8a25dc7ae256aa6ff46990..9640d99ce3753e68b9b40dcc98c0700d20c0466c 100644
--- a/src/compiler/wasm-compiler.cc
+++ b/src/compiler/wasm-compiler.cc
@@ -3004,8 +3004,10 @@ void WasmGraphBuilder::BuildWasmInterpreterEntry(
arg_buffer, // argument buffer
};
BuildCallToRuntime(Runtime::kWasmRunInterpreter, jsgraph(),
- jsgraph()->isolate()->native_context(), parameters,
- arraysize(parameters), effect_, *control_);
+ jsgraph()->isolate()->context()
+ ? jsgraph()->isolate()->native_context()
+ : Handle<Context>::null(),
+ parameters, arraysize(parameters), effect_, *control_);
// Read back the return value.
if (jsgraph()->machine()->Is32() && sig->return_count() > 0 &&

Powered by Google App Engine
This is Rietveld 408576698