Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index d889341b9152ccfabcb10b5ff076431396e0663a..8d7fc1c4a953457d986e6867f360d6f5dde6fdd9 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -270,6 +270,11 @@ void LUnaryMathOperation::PrintDataTo(StringStream* stream) const { |
} |
+void LLoadContextSlot::PrintDataTo(StringStream* stream) const { |
+ hydrogen()->PrintDataTo(stream); |
+} |
+ |
+ |
void LCallKeyed::PrintDataTo(StringStream* stream) const { |
stream->Add("[ecx] #%d / ", arity()); |
} |
@@ -1859,6 +1864,11 @@ LInstruction* LChunkBuilder::DoStoreGlobal(HStoreGlobal* instr) { |
} |
+LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) { |
+ return DefineAsRegister(new LLoadContextSlot); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) { |
return DefineAsRegister( |
new LLoadNamedField(UseRegisterAtStart(instr->object()))); |