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

Unified Diff: runtime/vm/compiler.cc

Issue 345563007: Add Uint32 representation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « no previous file | runtime/vm/deopt_instructions.h » ('j') | runtime/vm/deopt_instructions.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler.cc
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
index 9c2822a0b67e04a98206cc8fa9cf470f112b7fa2..8417b9a2980e7f3e0edc9f4b64d113857ff873d5 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -453,6 +453,10 @@ static bool CompileParsedFunctionHelper(ParsedFunction* parsed_function,
// making some phis smi.
optimizer.InferIntRanges();
DEBUG_ASSERT(flow_graph->VerifyUseLists());
+
+ // Select integer instructions based on range analysis result.
+ optimizer.SelectIntegerInstructions();
Florian Schneider 2014/07/08 12:24:28 I think this phase should be run as part of RangeA
Cutch 2014/07/09 17:48:25 Are you suggesting that we do a range analysis pas
Florian Schneider 2014/07/10 13:05:05 No, your pass runs after range analysis, but befor
Cutch 2014/07/10 17:12:53 I've added a TODO for a follow up CL.
+ DEBUG_ASSERT(flow_graph->VerifyUseLists());
}
if (FLAG_constant_propagation) {
« no previous file with comments | « no previous file | runtime/vm/deopt_instructions.h » ('j') | runtime/vm/deopt_instructions.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698