diff options
| author | 2014-11-24 19:45:41 +0000 | |
|---|---|---|
| committer | 2014-11-24 19:49:22 +0000 | |
| commit | 743b98cd3d7db1cfd6b3d7f7795e8abd9d07a42d (patch) | |
| tree | f84a555c7c4597f9569de48ac205e7c31f05ccd6 /compiler/dex/compiler_enums.h | |
| parent | a5de1924ddf0e6e89d98484a3b93b63b126bac76 (diff) | |
Skip null check in MarkGCCard() for known non-null values.
Use GVN's knowledge of non-null values to set a new MIR flag
for IPUT/SPUT/APUT to skip the value null check.
Change-Id: I97a8d1447acb530c9bbbf7b362add366d1486ee1
Diffstat (limited to 'compiler/dex/compiler_enums.h')
| -rw-r--r-- | compiler/dex/compiler_enums.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/dex/compiler_enums.h b/compiler/dex/compiler_enums.h index b56fd6f5c7..4d377df09a 100644 --- a/compiler/dex/compiler_enums.h +++ b/compiler/dex/compiler_enums.h @@ -316,9 +316,8 @@ enum ExtendedMIROpcode { enum MIROptimizationFlagPositions { kMIRIgnoreNullCheck = 0, - kMIRNullCheckOnly, kMIRIgnoreRangeCheck, - kMIRRangeCheckOnly, + kMIRStoreNonNullValue, // Storing non-null value, always mark GC card. kMIRClassIsInitialized, kMIRClassIsInDexCache, kMirIgnoreDivZeroCheck, |