| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index 1007784e41fe492854de94096d3744e861ab85c6..5542211e541cea7a5142e997c6eb6481f11cbb76 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -92,8 +92,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);
|
| @@ -2293,7 +2293,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) {
|
| @@ -2310,7 +2310,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(rdi, JSFunction::kCodeEntryOffset));
|
|
|