| Index: src/lithium.cc
|
| diff --git a/src/lithium.cc b/src/lithium.cc
|
| index 1be4b0654bbba424980c629f611d33c212ee99f4..966afa9c0b881f16d5c69b5748250707d5dd1d84 100644
|
| --- a/src/lithium.cc
|
| +++ b/src/lithium.cc
|
| @@ -422,6 +422,7 @@ Representation LChunk::LookupLiteralRepresentation(
|
| LChunk* LChunk::NewChunk(HGraph* graph) {
|
| DisallowHandleAllocation no_handles;
|
| DisallowHeapAllocation no_gc;
|
| + graph->DisallowAddingNewValues();
|
| int values = graph->GetMaximumValueID();
|
| CompilationInfo* info = graph->info();
|
| if (values > LUnallocated::kMaxVirtualRegisters) {
|
|
|