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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.h

Issue 10918097: Allow smi comparisons to have constant operands. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/flow_graph_compiler_ia32.h
diff --git a/runtime/vm/flow_graph_compiler_ia32.h b/runtime/vm/flow_graph_compiler_ia32.h
index d501cef2fb10903d39b555a1a92b2c873150798f..5275c4431c930f00976f897c94688cc7b7eb78f1 100644
--- a/runtime/vm/flow_graph_compiler_ia32.h
+++ b/runtime/vm/flow_graph_compiler_ia32.h
@@ -208,6 +208,10 @@ class FlowGraphCompiler : public ValueObject {
// runtime. Only deoptimization is allowed to occur. Closures are not leaf.
bool IsLeaf() const;
+ static Condition FlipCondition(Condition condition);
+
+ static bool EvaluateCondition(Condition condition, intptr_t l, intptr_t r);
+
private:
void GenerateDeferredCode();

Powered by Google App Engine
This is Rietveld 408576698