summaryrefslogtreecommitdiff
path: root/compiler/optimizing/builder.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-11-24 15:17:08 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-11-24 15:17:08 +0000
commit95f7bbcd991fbfaead438a2866354714eb32af38 (patch)
tree5a7f28c0ac6c2842ae3b3234b444dec329c92a37 /compiler/optimizing/builder.h
parentb110fd6f23ea16de5d0e891a345780df03dae260 (diff)
parentd9dc6f45c3f5fb0e5d279e6c038692258b27192b (diff)
Merge "A few more optimizations on avoiding HClinit."
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r--compiler/optimizing/builder.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h
index 615b0cd738..5ada93f684 100644
--- a/compiler/optimizing/builder.h
+++ b/compiler/optimizing/builder.h
@@ -311,9 +311,8 @@ class HGraphBuilder : public ValueObject {
// Build a HNewInstance instruction.
bool BuildNewInstance(uint16_t type_index, uint32_t dex_pc);
- // Return whether the compiler can assume `cls` is initialized. `type_index` is the index
- // of the class in the outer dex file.
- bool IsInitialized(Handle<mirror::Class> cls, uint16_t type_index) const
+ // Return whether the compiler can assume `cls` is initialized.
+ bool IsInitialized(Handle<mirror::Class> cls) const
SHARED_REQUIRES(Locks::mutator_lock_);
ArenaAllocator* const arena_;