summaryrefslogtreecommitdiff
path: root/chromium/v8/src/lithium.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/lithium.cc')
-rw-r--r--chromium/v8/src/lithium.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/v8/src/lithium.cc b/chromium/v8/src/lithium.cc
index 790a2182b17..e9c3531e385 100644
--- a/chromium/v8/src/lithium.cc
+++ b/chromium/v8/src/lithium.cc
@@ -425,7 +425,7 @@ LChunk* LChunk::NewChunk(HGraph* graph) {
int values = graph->GetMaximumValueID();
CompilationInfo* info = graph->info();
if (values > LUnallocated::kMaxVirtualRegisters) {
- info->set_bailout_reason(kNotEnoughVirtualRegistersForValues);
+ info->set_bailout_reason("not enough virtual registers for values");
return NULL;
}
LAllocator allocator(values, graph);
@@ -434,7 +434,7 @@ LChunk* LChunk::NewChunk(HGraph* graph) {
if (chunk == NULL) return NULL;
if (!allocator.Allocate(chunk)) {
- info->set_bailout_reason(kNotEnoughVirtualRegistersRegalloc);
+ info->set_bailout_reason("not enough virtual registers (regalloc)");
return NULL;
}