Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 237ce554801aaf789b991248e776255cf06ef691..4440cdfab7834180f8e31f0e7cebbb4e5b415ca3 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -469,7 +469,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; |
} |
@@ -477,7 +477,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; |
} |
@@ -516,7 +516,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(); |
@@ -533,8 +533,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); |