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

Unified Diff: runtime/vm/il_printer.cc

Issue 10446019: - Port AssertBool and AssertAssigneable to new location template. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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 7952)
+++ runtime/vm/il_printer.cc (working copy)
@@ -50,7 +50,7 @@
void FlowGraphPrinter::PrintInstruction(Instruction* instr) {
- char str[80];
+ char str[120];
BufferFormatter f(str, sizeof(str));
instr->PrintTo(&f);
OS::Print("%s", str);
@@ -58,7 +58,7 @@
void FlowGraphPrinter::PrintComputation(Computation* comp) {
- char str[80];
+ char str[120];
BufferFormatter f(str, sizeof(str));
comp->PrintTo(&f);
OS::Print("%s", str);
@@ -97,16 +97,12 @@
f->Print(", %s, '%s'",
String::Handle(dst_type().Name()).ToCString(),
dst_name().ToCString());
- if (instantiator() != NULL) {
- f->Print(" (instantiator:");
- instantiator()->PrintTo(f);
- f->Print(")");
- }
- if (instantiator_type_arguments() != NULL) {
- f->Print(" (instantiator:");
- instantiator_type_arguments()->PrintTo(f);
- f->Print(")");
- }
+ f->Print(" (instantiator:");
+ instantiator()->PrintTo(f);
+ f->Print(")");
+ f->Print(" (instantiator_type_arguments:");
+ instantiator_type_arguments()->PrintTo(f);
+ f->Print(")");
}

Powered by Google App Engine
This is Rietveld 408576698