diff options
author | 2015-02-12 15:25:22 +0000 | |
---|---|---|
committer | 2015-02-19 17:07:52 +0000 | |
commit | acf735c13998ad2a175f5a17e7bfce220073279d (patch) | |
tree | 94969f2387f0e6dad8c7e5712aa8187c9de2be56 /compiler/optimizing/optimizing_compiler_stats.h | |
parent | 39109a06015c91188232e59fa9e60e0915d24cd7 (diff) |
Reference type propagation
- propagate reference types between instructions
- remove checked casts when possible
- add StackHandleScopeCollection to manage an arbitrary number of stack
handles (see comments)
Change-Id: I31200067c5e7375a5ea8e2f873c4374ebdb5ee60
Diffstat (limited to 'compiler/optimizing/optimizing_compiler_stats.h')
-rw-r--r-- | compiler/optimizing/optimizing_compiler_stats.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/optimizing_compiler_stats.h b/compiler/optimizing/optimizing_compiler_stats.h index cc2723df99..3ebf0f8cd2 100644 --- a/compiler/optimizing/optimizing_compiler_stats.h +++ b/compiler/optimizing/optimizing_compiler_stats.h @@ -43,6 +43,8 @@ enum MethodCompilationStat { kNotCompiledCantAccesType, kNotOptimizedRegisterAllocator, kNotCompiledUnhandledInstruction, + kRemovedCheckedCast, + kRemovedNullCheck, kLastStat }; @@ -96,6 +98,8 @@ class OptimizingCompilerStats { case kNotCompiledCantAccesType : return "kNotCompiledCantAccesType"; case kNotOptimizedRegisterAllocator : return "kNotOptimizedRegisterAllocator"; case kNotCompiledUnhandledInstruction : return "kNotCompiledUnhandledInstruction"; + case kRemovedCheckedCast: return "kRemovedCheckedCast"; + case kRemovedNullCheck: return "kRemovedNullCheck"; default: LOG(FATAL) << "invalid stat"; } return ""; |