| Index: src/lithium.cc
|
| diff --git a/src/lithium.cc b/src/lithium.cc
|
| index 2df17872edc7f5d398c3dacc6c2c5788a3a61c27..1920646cd1a3254278cb1b4dd61de00e1d702fb4 100644
|
| --- a/src/lithium.cc
|
| +++ b/src/lithium.cc
|
| @@ -425,6 +425,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) {
|
|
|