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

Unified Diff: runtime/vm/constants_arm.h

Issue 2937933002: Reduce copying, redundancy & repetition for codegen of comparison instructions (Closed)
Patch Set: Created 3 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
Index: runtime/vm/constants_arm.h
diff --git a/runtime/vm/constants_arm.h b/runtime/vm/constants_arm.h
index d1e9bc67fc0bf12b0b1e93462ddb99c0a6952a9c..a716d4949cf1540c6be48f32cd7f060f6934e5e2 100644
--- a/runtime/vm/constants_arm.h
+++ b/runtime/vm/constants_arm.h
@@ -354,7 +354,8 @@ enum Condition {
LE = 13, // signed less than or equal
AL = 14, // always (unconditional)
kSpecialCondition = 15, // special condition (refer to section A3.2.1)
- kMaxCondition = 16,
+ kNumberOfConditions = 16,
+ kInvalidCondition = 16
Vyacheslav Egorov (Google) 2017/06/15 11:32:46 Maybe call it INVALID_CONDITION on all platforms f
erikcorry 2017/06/19 07:15:09 OK, but then I have to rename kNumberOfConditions
};

Powered by Google App Engine
This is Rietveld 408576698