| Index: src/arm/lithium-codegen-arm.cc
|
| ===================================================================
|
| --- src/arm/lithium-codegen-arm.cc (revision 7083)
|
| +++ src/arm/lithium-codegen-arm.cc (working copy)
|
| @@ -82,8 +82,8 @@
|
|
|
| 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);
|
| @@ -2442,7 +2442,7 @@
|
| 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) {
|
|
|