| Index: src/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
|
| index f778412272dea7478ffeea44cc7de77c501e11c9..9dcca9eea2dc4795895f134f44d8e930be7e4054 100644
|
| --- a/src/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/ia32/lithium-codegen-ia32.cc
|
| @@ -93,8 +93,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);
|
| @@ -2361,7 +2361,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) {
|
| @@ -2380,7 +2380,7 @@ void LCodeGen::CallKnownFunction(Handle<JSFunction> function,
|
| RecordPosition(pointers->position());
|
|
|
| // Invoke function.
|
| - if (*function == *graph()->info()->closure()) {
|
| + if (*function == *info()->closure()) {
|
| __ CallSelf();
|
| } else {
|
| __ call(FieldOperand(edi, JSFunction::kCodeEntryOffset));
|
|
|