summaryrefslogtreecommitdiffstats
path: root/compiler
diff options
context:
space:
mode:
authorJean Christophe Beyler <jean.christophe.beyler@intel.com>2014-04-30 11:40:07 -0700
committerJean Christophe Beyler <jean.christophe.beyler@intel.com>2014-05-02 13:11:57 -0700
commit89fde26f586883e04d295d6e30954cb5a0dc37bf (patch)
tree7f700593653c10033523a0cca51c45cb8022f7d5 /compiler
parent851a9a9c0c9b94e24eb0b3d322e810bb388a81a0 (diff)
downloadandroid_art-89fde26f586883e04d295d6e30954cb5a0dc37bf.tar.gz
android_art-89fde26f586883e04d295d6e30954cb5a0dc37bf.tar.bz2
android_art-89fde26f586883e04d295d6e30954cb5a0dc37bf.zip
ART: Add a last item in the MIROptimizationFlagPositions enumeration
- Added a last item in the enumeration in order to be able to notice when an extended MIR opcode is beyond the last one known to libart, and hence must be an opcode added by code from a plugin. - Fixed the naming typo of the enumeration. Change-Id: I0e021ba54b0e60531338f23ca0ab64755e15229b Signed-Off-By: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
Diffstat (limited to 'compiler')
-rw-r--r--compiler/dex/compiler_enums.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/dex/compiler_enums.h b/compiler/dex/compiler_enums.h
index ba4b5c356a..ab0e3e53ff 100644
--- a/compiler/dex/compiler_enums.h
+++ b/compiler/dex/compiler_enums.h
@@ -131,7 +131,7 @@ enum ExtendedMIROpcode {
kMirOpLast,
};
-enum MIROptimizationFlagPositons {
+enum MIROptimizationFlagPositions {
kMIRIgnoreNullCheck = 0,
kMIRNullCheckOnly,
kMIRIgnoreRangeCheck,
@@ -143,6 +143,7 @@ enum MIROptimizationFlagPositons {
kMIRIgnoreSuspendCheck,
kMIRDup,
kMIRMark, // Temporary node mark.
+ kMIRLastMIRFlag,
};
// For successor_block_list.