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