diff options
Diffstat (limited to 'runtime/stack.h')
-rw-r--r-- | runtime/stack.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/runtime/stack.h b/runtime/stack.h index 1b00b54acb..2a6fdc2b35 100644 --- a/runtime/stack.h +++ b/runtime/stack.h @@ -17,14 +17,12 @@ #ifndef ART_RUNTIME_STACK_H_ #define ART_RUNTIME_STACK_H_ -#include <stdint.h> - #include <optional> +#include <stdint.h> #include <string> #include "base/locks.h" #include "base/macros.h" -#include "deoptimization_kind.h" #include "obj_ptr.h" #include "quick/quick_method_frame_info.h" #include "stack_map.h" @@ -297,15 +295,6 @@ class StackVisitor { QuickMethodFrameInfo GetCurrentQuickFrameInfo() const REQUIRES_SHARED(Locks::mutator_lock_); - void SetShouldDeoptimizeFlag(DeoptimizeFlagValue value) REQUIRES_SHARED(Locks::mutator_lock_) { - uint8_t* should_deoptimize_addr = GetShouldDeoptimizeFlagAddr(); - *should_deoptimize_addr = *should_deoptimize_addr | static_cast<uint8_t>(value); - }; - - uint8_t GetShouldDeoptimizeFlag() const REQUIRES_SHARED(Locks::mutator_lock_) { - return *GetShouldDeoptimizeFlagAddr(); - } - private: // Private constructor known in the case that num_frames_ has already been computed. StackVisitor(Thread* thread, @@ -379,8 +368,6 @@ class StackVisitor { mutable std::pair<const OatQuickMethodHeader*, CodeInfo> cur_inline_info_; mutable std::pair<uintptr_t, StackMap> cur_stack_map_; - uint8_t* GetShouldDeoptimizeFlagAddr() const REQUIRES_SHARED(Locks::mutator_lock_); - protected: Context* const context_; const bool check_suspended_; |