Version 3.24.8

ARM: fix loading of global object in LWrapReceiver (Chromium issue 318420).

Fix a race between concurrent recompilation and OSR (Chromium issue 330046).

Turn off concurrent sweeping (issue 3071).

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@18423 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/debug.cc b/src/debug.cc
index 4a7fa6b..5c04efa 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -2125,7 +2125,8 @@
         bool prev_force_debugger_active =
             isolate_->debugger()->force_debugger_active();
         isolate_->debugger()->set_force_debugger_active(true);
-        function->ReplaceCode(*Compiler::GetCodeForDebugging(function));
+        Handle<Code> code = Compiler::GetCodeForDebugging(function);
+        function->ReplaceCode(*code);
         isolate_->debugger()->set_force_debugger_active(
             prev_force_debugger_active);
       }