diff options
Diffstat (limited to 'compiler/optimizing/code_generator.h')
| -rw-r--r-- | compiler/optimizing/code_generator.h | 25 | 
1 files changed, 0 insertions, 25 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index 212d5711f7..a81f24e3d8 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -31,7 +31,6 @@  #include "nodes.h"  #include "optimizing_compiler_stats.h"  #include "stack_map_stream.h" -#include "string_reference.h"  #include "utils/label.h"  namespace art { @@ -332,17 +331,6 @@ class CodeGenerator : public DeletableArenaObject<kArenaAllocCodeGenerator> {    void BuildStackMaps(MemoryRegion region, const DexFile::CodeItem& code_item);    size_t ComputeStackMapsSize(); -  size_t GetNumberOfJitRoots() const { -    return jit_string_roots_.size(); -  } - -  // Fills the `literals` array with literals collected during code generation. -  // Also emits literal patches. -  void EmitJitRoots(uint8_t* code, -                    Handle<mirror::ObjectArray<mirror::Object>> roots, -                    const uint8_t* roots_data, -                    Handle<mirror::DexCache> outer_dex_cache) -      REQUIRES_SHARED(Locks::mutator_lock_);    bool IsLeafMethod() const {      return is_leaf_; @@ -579,8 +567,6 @@ class CodeGenerator : public DeletableArenaObject<kArenaAllocCodeGenerator> {          fpu_callee_save_mask_(fpu_callee_save_mask),          stack_map_stream_(graph->GetArena()),          block_order_(nullptr), -        jit_string_roots_(StringReferenceValueComparator(), -                          graph->GetArena()->Adapter(kArenaAllocCodeGenerator)),          disasm_info_(nullptr),          stats_(stats),          graph_(graph), @@ -647,12 +633,6 @@ class CodeGenerator : public DeletableArenaObject<kArenaAllocCodeGenerator> {      return current_slow_path_;    } -  // Emit the patches assocatied with JIT roots. Only applies to JIT compiled code. -  virtual void EmitJitRootPatches(uint8_t* code ATTRIBUTE_UNUSED, -                                  const uint8_t* roots_data ATTRIBUTE_UNUSED) { -    DCHECK_EQ(jit_string_roots_.size(), 0u); -  } -    // Frame size required for this method.    uint32_t frame_size_;    uint32_t core_spill_mask_; @@ -678,11 +658,6 @@ class CodeGenerator : public DeletableArenaObject<kArenaAllocCodeGenerator> {    // The order to use for code generation.    const ArenaVector<HBasicBlock*>* block_order_; -  // Maps a StringReference (dex_file, string_index) to the index in the literal table. -  // Entries are intially added with a 0 index, and `EmitJitRoots` will compute all the -  // indices. -  ArenaSafeMap<StringReference, size_t, StringReferenceValueComparator> jit_string_roots_; -    DisassemblyInformation* disasm_info_;   private:  |