Chromium Code Reviews| Index: src/lithium.cc |
| diff --git a/src/lithium.cc b/src/lithium.cc |
| index 4cfb5838ceb0b9443e9d71a9952f997144fd9b88..5b93f0af2eff2ab16190b9567645be5be45eb3a5 100644 |
| --- a/src/lithium.cc |
| +++ b/src/lithium.cc |
| @@ -391,6 +391,9 @@ Representation LChunk::LookupLiteralRepresentation( |
| LChunk* LChunk::NewChunk(HGraph* graph) { |
| + NoHandleAllocation no_handles; |
| + AssertNoAllocation no_gc; |
| + |
| int values = graph->GetMaximumValueID(); |
| if (values > LUnallocated::kMaxVirtualRegisters) { |
| if (FLAG_trace_bailout) { |