Index: src/x64/deoptimizer-x64.cc |
=================================================================== |
--- src/x64/deoptimizer-x64.cc (revision 7118) |
+++ src/x64/deoptimizer-x64.cc (working copy) |
@@ -102,6 +102,7 @@ |
void Deoptimizer::DeoptimizeFunction(JSFunction* function) { |
+ HandleScope scope; |
AssertNoAllocation no_allocation; |
if (!function->IsOptimized()) return; |
@@ -196,6 +197,11 @@ |
PrintF("[forced deoptimization: "); |
function->PrintName(); |
PrintF(" / %" V8PRIxPTR "]\n", reinterpret_cast<intptr_t>(function)); |
+#ifdef DEBUG |
+ if (FLAG_print_code) { |
+ code->PrintLn(); |
+ } |
+#endif |
} |
} |