Index: src/lithium.cc |
diff --git a/src/lithium.cc b/src/lithium.cc |
index 9f44b7ef5a686f833b7665c26c35df67abd1b3d4..2993c9aa73155bbfad9122a3d021d08f9107c761 100644 |
--- a/src/lithium.cc |
+++ b/src/lithium.cc |
@@ -419,9 +419,8 @@ Representation LChunk::LookupLiteralRepresentation( |
LChunk* LChunk::NewChunk(HGraph* graph) { |
- NoHandleAllocation no_handles(graph->isolate()); |
- AssertNoAllocation no_gc; |
- |
+ DisallowHandleAllocation no_handles; |
+ DisallowHeapAllocation no_gc; |
int values = graph->GetMaximumValueID(); |
CompilationInfo* info = graph->info(); |
if (values > LUnallocated::kMaxVirtualRegisters) { |