From c6b4dd8980350aaf250f0185f73e9c42ec17cd57 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Tue, 7 Apr 2015 20:32:43 +0100 Subject: Implement CFI for Optimizing. CFI is necessary for stack unwinding in gdb, lldb, and libunwind. Change-Id: I1a3480e3a4a99f48bf7e6e63c4e83a80cfee40a2 --- compiler/compiled_method.h | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'compiler/compiled_method.h') diff --git a/compiler/compiled_method.h b/compiler/compiled_method.h index 506b47b68a..480d021db0 100644 --- a/compiler/compiled_method.h +++ b/compiler/compiled_method.h @@ -320,7 +320,7 @@ class CompiledMethod FINAL : public CompiledCode { const ArrayRef& vmap_table, const ArrayRef& native_gc_map, const ArrayRef& cfi_info, - const ArrayRef& patches = ArrayRef()); + const ArrayRef& patches); virtual ~CompiledMethod(); @@ -336,24 +336,7 @@ class CompiledMethod FINAL : public CompiledCode { const ArrayRef& vmap_table, const ArrayRef& native_gc_map, const ArrayRef& cfi_info, - const ArrayRef& patches = ArrayRef()); - - static CompiledMethod* SwapAllocCompiledMethodStackMap( - CompilerDriver* driver, - InstructionSet instruction_set, - const ArrayRef& quick_code, - const size_t frame_size_in_bytes, - const uint32_t core_spill_mask, - const uint32_t fp_spill_mask, - const ArrayRef& stack_map); - - static CompiledMethod* SwapAllocCompiledMethodCFI(CompilerDriver* driver, - InstructionSet instruction_set, - const ArrayRef& quick_code, - const size_t frame_size_in_bytes, - const uint32_t core_spill_mask, - const uint32_t fp_spill_mask, - const ArrayRef& cfi_info); + const ArrayRef& patches); static void ReleaseSwapAllocatedCompiledMethod(CompilerDriver* driver, CompiledMethod* m); -- cgit v1.2.3-59-g8ed1b