Index: src/ia32/deoptimizer-ia32.cc |
diff --git a/src/ia32/deoptimizer-ia32.cc b/src/ia32/deoptimizer-ia32.cc |
index 9f3c4e97f6b516479072577356aa21a2b0287c94..16befa910c08941114d237eb2b1af1a29a63ee3e 100644 |
--- a/src/ia32/deoptimizer-ia32.cc |
+++ b/src/ia32/deoptimizer-ia32.cc |
@@ -118,7 +118,7 @@ void Deoptimizer::DeoptimizeFunctionWithPreparedFunctionList( |
JSFunction* function) { |
Isolate* isolate = function->GetIsolate(); |
HandleScope scope(isolate); |
- AssertNoAllocation no_allocation; |
+ DisallowHeapAllocation nha; |
ASSERT(function->IsOptimized()); |
ASSERT(function->FunctionsInFunctionListShareSameCode()); |