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