diff options
author | Michaël Zasso <targos@protonmail.com> | 2019-03-12 09:01:49 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-03-14 18:49:21 +0100 |
commit | 7b48713334469818661fe276cf571de9c7899f2d (patch) | |
tree | 4dbda49ac88db76ce09dc330a0cb587e68e139ba /deps/v8/src/debug/debug.h | |
parent | 8549ac09b256666cf5275224ec58fab9939ff32e (diff) | |
download | node-new-7b48713334469818661fe276cf571de9c7899f2d.tar.gz |
deps: update V8 to 7.3.492.25
PR-URL: https://github.com/nodejs/node/pull/25852
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'deps/v8/src/debug/debug.h')
-rw-r--r-- | deps/v8/src/debug/debug.h | 19 |
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_; |