diff options
Diffstat (limited to 'compiler/optimizing/builder.h')
| -rw-r--r-- | compiler/optimizing/builder.h | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index f857ef0e12..5ada93f684 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -308,6 +308,13 @@ class HGraphBuilder : public ValueObject {        uint32_t method_idx,        HInvokeStaticOrDirect::ClinitCheckRequirement* clinit_check_requirement); +  // Build a HNewInstance instruction. +  bool BuildNewInstance(uint16_t type_index, uint32_t dex_pc); + +  // Return whether the compiler can assume `cls` is initialized. +  bool IsInitialized(Handle<mirror::Class> cls) const +      SHARED_REQUIRES(Locks::mutator_lock_); +    ArenaAllocator* const arena_;    // A list of the size of the dex code holding block information for |