Index: src/arm/deoptimizer-arm.cc |
diff --git a/src/arm/deoptimizer-arm.cc b/src/arm/deoptimizer-arm.cc |
index d973889bbe08abb41cd04918f23d5e692d1d0b17..ea3287aa33ef90ac0f00f8e4ccf1af78fb703fa0 100644 |
--- a/src/arm/deoptimizer-arm.cc |
+++ b/src/arm/deoptimizer-arm.cc |
@@ -48,7 +48,7 @@ void Deoptimizer::DeoptimizeFunctionWithPreparedFunctionList( |
JSFunction* function) { |
Isolate* isolate = function->GetIsolate(); |
HandleScope scope(isolate); |
- AssertNoAllocation no_allocation; |
+ DisallowHeapAllocation no_allocation; |
ASSERT(function->IsOptimized()); |
ASSERT(function->FunctionsInFunctionListShareSameCode()); |