| Index: src/lithium.cc
|
| diff --git a/src/lithium.cc b/src/lithium.cc
|
| index 9e3ffe2ccbf8996db0d53e11d2c93606bfd1b33b..269a1b84ab246e7857a25ec6dea0b7c7dc0dcfe0 100644
|
| --- a/src/lithium.cc
|
| +++ b/src/lithium.cc
|
| @@ -428,7 +428,7 @@ LChunk* LChunk::NewChunk(HGraph* graph) {
|
| int values = graph->GetMaximumValueID();
|
| CompilationInfo* info = graph->info();
|
| if (values > LUnallocated::kMaxVirtualRegisters) {
|
| - info->set_bailout_reason("not enough virtual registers for values");
|
| + info->set_bailout_reason(kNotEnoughVirtualRegistersForValues);
|
| return NULL;
|
| }
|
| LAllocator allocator(values, graph);
|
| @@ -437,7 +437,7 @@ LChunk* LChunk::NewChunk(HGraph* graph) {
|
| if (chunk == NULL) return NULL;
|
|
|
| if (!allocator.Allocate(chunk)) {
|
| - info->set_bailout_reason("not enough virtual registers (regalloc)");
|
| + info->set_bailout_reason(kNotEnoughVirtualRegistersRegalloc);
|
| return NULL;
|
| }
|
|
|
|
|