Index: src/mips/deoptimizer-mips.cc |
diff --git a/src/mips/deoptimizer-mips.cc b/src/mips/deoptimizer-mips.cc |
index 31fad2bc4506972d283385a7f2fb13f248961c31..6978cde52bbfd2ee0b984bf724b15e3573301c2a 100644 |
--- a/src/mips/deoptimizer-mips.cc |
+++ b/src/mips/deoptimizer-mips.cc |
@@ -47,7 +47,7 @@ void Deoptimizer::DeoptimizeFunctionWithPreparedFunctionList( |
JSFunction* function) { |
Isolate* isolate = function->GetIsolate(); |
HandleScope scope(isolate); |
- AssertNoAllocation no_allocation; |
+ DisallowHeapAllocation nha; |
ASSERT(function->IsOptimized()); |
ASSERT(function->FunctionsInFunctionListShareSameCode()); |