Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index ab58600bbfae9e8a84de669f117ea724d718c3be..afe90159bc3dd520ef48962a9487f00d180f2898 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -80,8 +80,8 @@ void LCodeGen::FinishCode(Handle<Code> code) { |
void LCodeGen::Abort(const char* format, ...) { |
if (FLAG_trace_bailout) { |
- SmartPointer<char> debug_name = graph()->debug_name()->ToCString(); |
- PrintF("Aborting LCodeGen in @\"%s\": ", *debug_name); |
+ SmartPointer<char> name(info()->shared_info()->DebugName()->ToCString()); |
+ PrintF("Aborting LCodeGen in @\"%s\": ", *name); |
va_list arguments; |
va_start(arguments, format); |
OS::VPrint(format, arguments); |
@@ -2438,7 +2438,7 @@ void LCodeGen::CallKnownFunction(Handle<JSFunction> function, |
LInstruction* instr) { |
// Change context if needed. |
bool change_context = |
- (graph()->info()->closure()->context() != function->context()) || |
+ (info()->closure()->context() != function->context()) || |
scope()->contains_with() || |
(scope()->num_heap_slots() > 0); |
if (change_context) { |