Reviewers: Sven Panne,

Message:
Committed patchset #1 manually as r17875 (presubmit successful).

Description:
Fix debugger wrt concurrent recompilation flag.

[email protected]
BUG=

Committed: https://code.google.com/p/v8/source/detail?r=17875

Please review this at https://codereview.chromium.org/76293003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -1 lines):
  M src/debug.cc


Index: src/debug.cc
diff --git a/src/debug.cc b/src/debug.cc
index 35970e5ee934e9eb9ff3558d98da544cfd0ebd56..6a8df7ab9c7fcd2b197bbdbc3853520295b27c82 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -2056,7 +2056,7 @@ void Debug::PrepareForBreakPoints() {
   // If preparing for the first break point make sure to deoptimize all
   // functions as debugging does not work with optimized code.
   if (!has_break_points_) {
-    if (FLAG_concurrent_recompilation) {
+    if (isolate_->concurrent_recompilation_enabled()) {
       isolate_->optimizing_compiler_thread()->Flush();
     }



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to