diff options
author | 2016-11-15 15:51:31 -0800 | |
---|---|---|
committer | 2016-11-16 10:41:40 -0800 | |
commit | 6beced4c017826f7c449f12fac7fa42403657f2b (patch) | |
tree | f53614eeeaa92be9a7398e262d9440f59e3384a5 /runtime/class_table.h | |
parent | e89667815b9d0a1eacb91678fed2a7518bb07cc2 (diff) |
Change iftable to never be null
Simplifies code generation by removing a null check. The null case
is rare.
Ritzperf code size: 13107624 -> 13095336
Also addressed comments from previous CL.
Bug: 32577579
Test: test-art-host, run ritzperf both with CC
Change-Id: I2b31e800867112869d7f0643e16c08826296979e
Diffstat (limited to 'runtime/class_table.h')
-rw-r--r-- | runtime/class_table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_table.h b/runtime/class_table.h index bc9eaf4c2d..558c144013 100644 --- a/runtime/class_table.h +++ b/runtime/class_table.h @@ -48,7 +48,7 @@ class ClassTable { uint32_t operator()(const GcRoot<mirror::Class>& root) const NO_THREAD_SAFETY_ANALYSIS; // Same class loader and descriptor. bool operator()(const GcRoot<mirror::Class>& a, const GcRoot<mirror::Class>& b) const - NO_THREAD_SAFETY_ANALYSIS;; + NO_THREAD_SAFETY_ANALYSIS; // Same descriptor. bool operator()(const GcRoot<mirror::Class>& a, const char* descriptor) const NO_THREAD_SAFETY_ANALYSIS; |