Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2767)

Unified Diff: src/ia32/lithium-ia32.cc

Issue 5753005: Make closures optimizable by Crankshaft compiler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressing next round of Florian's comments Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
Kevin Millikin (Chromium) 2010/12/20 12:05:44 I wouldn't forward to the hydrogen instruction lik
antonm 2010/12/20 20:39:24 Done.
+}
+
+
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())));

Powered by Google App Engine
This is Rietveld 408576698