| Index: src/x64/lithium-x64.cc
|
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
|
| index 7c26468a38ae27f759ce923e2b7246c5c4e3650e..a11963aca80c635b252f3d37e124004aa461cd07 100644
|
| --- a/src/x64/lithium-x64.cc
|
| +++ b/src/x64/lithium-x64.cc
|
| @@ -470,7 +470,7 @@ int LChunk::GetParameterStackSlot(int index) const {
|
| // shift all parameter indexes down by the number of parameters, and
|
| // make sure they end up negative so they are distinguishable from
|
| // spill slots.
|
| - int result = index - graph()->info()->scope()->num_parameters() - 1;
|
| + int result = index - info()->scope()->num_parameters() - 1;
|
| ASSERT(result < 0);
|
| return result;
|
| }
|
| @@ -478,7 +478,7 @@ int LChunk::GetParameterStackSlot(int index) const {
|
| // A parameter relative to ebp in the arguments stub.
|
| int LChunk::ParameterAt(int index) {
|
| ASSERT(-1 <= index); // -1 is the receiver.
|
| - return (1 + graph()->info()->scope()->num_parameters() - index) *
|
| + return (1 + info()->scope()->num_parameters() - index) *
|
| kPointerSize;
|
| }
|
|
|
| @@ -517,7 +517,7 @@ Representation LChunk::LookupLiteralRepresentation(
|
|
|
| LChunk* LChunkBuilder::Build() {
|
| ASSERT(is_unused());
|
| - chunk_ = new LChunk(graph());
|
| + chunk_ = new LChunk(info(), graph());
|
| HPhase phase("Building chunk", chunk_);
|
| status_ = BUILDING;
|
| const ZoneList<HBasicBlock*>* blocks = graph()->blocks();
|
| @@ -534,8 +534,8 @@ LChunk* LChunkBuilder::Build() {
|
|
|
| void LChunkBuilder::Abort(const char* format, ...) {
|
| if (FLAG_trace_bailout) {
|
| - SmartPointer<char> debug_name = graph()->debug_name()->ToCString();
|
| - PrintF("Aborting LChunk building in @\"%s\": ", *debug_name);
|
| + SmartPointer<char> name(info()->shared_info()->DebugName()->ToCString());
|
| + PrintF("Aborting LChunk building in @\"%s\": ", *name);
|
| va_list arguments;
|
| va_start(arguments, format);
|
| OS::VPrint(format, arguments);
|
|
|