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

Unified Diff: src/compiler/instruction.cc

Issue 1242303005: [turbofan]: Elide extra move when accessing stack or frame register (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: src/compiler/code-generator.cc Created 5 years, 5 months 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
« no previous file with comments | « src/compiler/instruction.h ('k') | src/compiler/instruction-selector-impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/instruction.cc
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc
index 9aebb9a17a5389d2f7c0fbb3f45715c2c137a8cf..06adc634406b3e5ba3c42e41c5f2727a210e2bb0 100644
--- a/src/compiler/instruction.cc
+++ b/src/compiler/instruction.cc
@@ -95,6 +95,10 @@ std::ostream& operator<<(std::ostream& os,
}
return os << "]";
}
+ case InstructionOperand::STACK_POINTER:
+ return os << "[stack_pointer]";
+ case InstructionOperand::FRAME_POINTER:
+ return os << "[frame_pointer]";
case InstructionOperand::INVALID:
return os << "(x)";
}
« no previous file with comments | « src/compiler/instruction.h ('k') | src/compiler/instruction-selector-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698