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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 10634032: Fixed a typo, one more reason to get rid of StrictCompare vs StrictCompareComp distinction. (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
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.cc
===================================================================
--- runtime/vm/intermediate_language.cc (revision 9034)
+++ runtime/vm/intermediate_language.cc (working copy)
@@ -1075,10 +1075,18 @@
LocationSummary* StrictCompareComp::MakeLocationSummary() const {
- if (!is_fused_with_branch()) {
+ if (is_fused_with_branch()) {
+ const intptr_t kNumInputs = 2;
+ const intptr_t kNumTemps = 0;
+ LocationSummary* locs = new LocationSummary(kNumInputs,
+ kNumTemps,
+ LocationSummary::kNoCall,
+ LocationSummary::kBranch);
+ locs->set_in(0, Location::RequiresRegister());
+ locs->set_in(1, Location::RequiresRegister());
+ return locs;
+ } else {
return LocationSummary::Make(2, Location::SameAsFirstInput());
- } else {
- return LocationSummary::Make(2, Location::NoLocation());
}
}
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698