aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/debug/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/debug/debug.h')
-rw-r--r--deps/v8/src/debug/debug.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/deps/v8/src/debug/debug.h b/deps/v8/src/debug/debug.h
index 3b6748851b..215ec1d8ac 100644
--- a/deps/v8/src/debug/debug.h
+++ b/deps/v8/src/debug/debug.h
@@ -92,7 +92,7 @@ class BreakLocation {
debug::BreakLocationType type() const;
- JSGeneratorObject* GetGeneratorObjectForSuspendedFrame(
+ JSGeneratorObject GetGeneratorObjectForSuspendedFrame(
JavaScriptFrame* frame) const;
private:
@@ -170,7 +170,7 @@ class BreakIterator {
// weak handles to avoid a debug info object to keep a function alive.
class DebugInfoListNode {
public:
- DebugInfoListNode(Isolate* isolate, DebugInfo* debug_info);
+ DebugInfoListNode(Isolate* isolate, DebugInfo debug_info);
~DebugInfoListNode();
DebugInfoListNode* next() { return next_; }
@@ -179,7 +179,7 @@ class DebugInfoListNode {
private:
// Global (weak) handle to the debug info object.
- DebugInfo** debug_info_;
+ Address* debug_info_;
// Next pointer for linked list.
DebugInfoListNode* next_;
@@ -349,8 +349,8 @@ class Debug {
StackFrame::Id break_frame_id() { return thread_local_.break_frame_id_; }
Handle<Object> return_value_handle();
- Object* return_value() { return thread_local_.return_value_; }
- void set_return_value(Object* value) { thread_local_.return_value_ = value; }
+ Object return_value() { return thread_local_.return_value_; }
+ void set_return_value(Object value) { thread_local_.return_value_ = value; }
// Support for embedding into generated code.
Address is_active_address() {
@@ -368,6 +368,9 @@ class Debug {
Address restart_fp_address() {
return reinterpret_cast<Address>(&thread_local_.restart_fp_);
}
+ bool will_restart() const {
+ return thread_local_.restart_fp_ != kNullAddress;
+ }
StepAction last_step_action() { return thread_local_.last_step_action_; }
bool break_on_next_function_call() const {
@@ -506,7 +509,7 @@ class Debug {
// If set, next PrepareStepIn will ignore this function until stepped into
// another function, at which point this will be cleared.
- Object* ignore_step_into_function_;
+ Object ignore_step_into_function_;
// If set then we need to repeat StepOut action at return.
bool fast_forward_to_return_;
@@ -521,10 +524,10 @@ class Debug {
int target_frame_count_;
// Value of the accumulator at the point of entering the debugger.
- Object* return_value_;
+ Object return_value_;
// The suspended generator object to track when stepping.
- Object* suspended_generator_;
+ Object suspended_generator_;
// The new frame pointer to drop to when restarting a frame.
Address restart_fp_;