diff options
| author | 2015-04-09 17:27:31 +0000 | |
|---|---|---|
| committer | 2015-04-09 17:27:31 +0000 | |
| commit | 917f0866f66d3465fa41ddcf9ab09eba2fa78dd3 (patch) | |
| tree | 08bc03c6ac1a3d06672edaf4b74ce89db4c28da5 /compiler/compiled_method.cc | |
| parent | 467e33616472fe92051c75b65327aad87a639f3f (diff) | |
| parent | c6b4dd8980350aaf250f0185f73e9c42ec17cd57 (diff) | |
Merge "Implement CFI for Optimizing."
Diffstat (limited to 'compiler/compiled_method.cc')
| -rw-r--r-- | compiler/compiled_method.cc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/compiler/compiled_method.cc b/compiler/compiled_method.cc index eeed877444..4f7a970fdd 100644 --- a/compiler/compiled_method.cc +++ b/compiler/compiled_method.cc @@ -188,39 +188,6 @@ CompiledMethod* CompiledMethod::SwapAllocCompiledMethod( return ret; } -CompiledMethod* CompiledMethod::SwapAllocCompiledMethodStackMap( - CompilerDriver* driver, - InstructionSet instruction_set, - const ArrayRef<const uint8_t>& quick_code, - const size_t frame_size_in_bytes, - const uint32_t core_spill_mask, - const uint32_t fp_spill_mask, - const ArrayRef<const uint8_t>& stack_map) { - SwapAllocator<CompiledMethod> alloc(driver->GetSwapSpaceAllocator()); - CompiledMethod* ret = alloc.allocate(1); - alloc.construct(ret, driver, instruction_set, quick_code, frame_size_in_bytes, core_spill_mask, - fp_spill_mask, nullptr, ArrayRef<const uint8_t>(), stack_map, - ArrayRef<const uint8_t>(), ArrayRef<const uint8_t>(), - ArrayRef<const LinkerPatch>()); - return ret; -} - -CompiledMethod* CompiledMethod::SwapAllocCompiledMethodCFI( - CompilerDriver* driver, - InstructionSet instruction_set, - const ArrayRef<const uint8_t>& quick_code, - const size_t frame_size_in_bytes, - const uint32_t core_spill_mask, - const uint32_t fp_spill_mask, - const ArrayRef<const uint8_t>& cfi_info) { - SwapAllocator<CompiledMethod> alloc(driver->GetSwapSpaceAllocator()); - CompiledMethod* ret = alloc.allocate(1); - alloc.construct(ret, driver, instruction_set, quick_code, frame_size_in_bytes, core_spill_mask, - fp_spill_mask, nullptr, ArrayRef<const uint8_t>(), - ArrayRef<const uint8_t>(), ArrayRef<const uint8_t>(), - cfi_info, ArrayRef<const LinkerPatch>()); - return ret; -} void CompiledMethod::ReleaseSwapAllocatedCompiledMethod(CompilerDriver* driver, CompiledMethod* m) { |