Index: src/lithium-allocator.cc |
diff --git a/src/lithium-allocator.cc b/src/lithium-allocator.cc |
index 21103922fbf975b5b4f2d2dc0dfd43f5ebfd92ac..36a12e75b3bcde312b01fc0564212fb4fc60f839 100644 |
--- a/src/lithium-allocator.cc |
+++ b/src/lithium-allocator.cc |
@@ -1336,14 +1336,9 @@ void LAllocator::BuildLiveRanges() { |
while (!iterator.Done()) { |
found = true; |
int operand_index = iterator.Current(); |
- if (chunk_->info()->IsStub()) { |
- CodeStub::Major major_key = chunk_->info()->code_stub()->MajorKey(); |
- PrintF("Function: %s\n", CodeStub::MajorName(major_key, false)); |
- } else { |
- DCHECK(chunk_->info()->IsOptimizing()); |
+ { |
AllowHandleDereference allow_deref; |
- PrintF("Function: %s\n", |
- chunk_->info()->literal()->debug_name()->ToCString().get()); |
+ PrintF("Function: %s\n", chunk_->info()->GetDebugName().get()); |
} |
PrintF("Value %d used before first definition!\n", operand_index); |
LiveRange* range = LiveRangeFor(operand_index); |