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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 207063002: Refactor to support multiple outputs in location summary (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/intermediate_language.cc
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
index 41890cb4cc12d7307dc01118cbae9236857f0d11..d2b247065eb6501f38f4db85b89353e0d52cac9d 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -2075,7 +2075,7 @@ LocationSummary* DropTempsInstr::MakeLocationSummary(bool optimizing) const {
void DropTempsInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
ASSERT(!compiler->is_optimizing());
// Assert that register assignment is correct.
- ASSERT((InputCount() == 0) || locs()->out().reg() == locs()->in(0).reg());
+ ASSERT((InputCount() == 0) || locs()->out(0).reg() == locs()->in(0).reg());
srdjan 2014/03/20 23:04:23 More parentheses pretty please.
Cutch 2014/03/21 14:36:46 Done.
__ Drop(num_temps());
}
@@ -2186,7 +2186,7 @@ void AssertAssignableInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
dst_type(),
dst_name(),
locs());
- ASSERT(locs()->in(0).reg() == locs()->out().reg());
+ ASSERT(locs()->in(0).reg() == locs()->out(0).reg());
}

Powered by Google App Engine
This is Rietveld 408576698