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

Unified Diff: runtime/vm/il_printer.cc

Issue 10536086: Add stack check in loops so that loops can be stopped. Optimize relational operations. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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
Index: runtime/vm/il_printer.cc
===================================================================
--- runtime/vm/il_printer.cc (revision 8478)
+++ runtime/vm/il_printer.cc (working copy)
@@ -223,6 +223,14 @@
}
+void RelationalOpComp::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("%s, ", Token::Str(kind()));
+ left()->PrintTo(f);
+ f->Print(", ");
+ right()->PrintTo(f);
+}
+
+
void AllocateObjectComp::PrintOperandsTo(BufferFormatter* f) const {
f->Print("%s", Class::Handle(constructor().owner()).ToCString());
for (intptr_t i = 0; i < arguments().length(); i++) {

Powered by Google App Engine
This is Rietveld 408576698