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

Unified Diff: src/compiler.cc

Issue 2537313005: [debug] Revert debug API removal (Closed)
Patch Set: Created 4 years 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.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 2d0cf06cbd0a8572b2192a2a284ac0d023652729..c5f84ebde5f1a89280905f8ba1ae2574e8a399b7 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -962,6 +962,8 @@ Handle<SharedFunctionInfo> CompileToplevel(CompilationInfo* info) {
FixedArray* array = isolate->native_context()->embedder_data();
script->set_context_data(array->get(v8::Context::kDebugIdIndex));
+ isolate->debug()->OnBeforeCompile(script);
+
Handle<SharedFunctionInfo> result;
{ VMState<COMPILER> state(info->isolate());

Powered by Google App Engine
This is Rietveld 408576698