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

Unified Diff: runtime/vm/intermediate_language.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/intermediate_language.h
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
index 217d091901f897982706b502656afe0b99806bd2..7e9bed846d40c94d673429a0fa31ff5722ec7601 100644
--- a/runtime/vm/intermediate_language.h
+++ b/runtime/vm/intermediate_language.h
@@ -1338,6 +1338,8 @@ class ControlInstruction : public Instruction {
void EmitBranchOnCondition(FlowGraphCompiler* compiler,
Condition true_condition);
+ void EmitBranchOnValue(FlowGraphCompiler* compiler, bool result);
srdjan 2012/09/06 13:32:55 Please add comment explaining what flag 'result' m
+
private:
TargetEntryInstr* true_successor_;
TargetEntryInstr* false_successor_;

Powered by Google App Engine
This is Rietveld 408576698