summaryrefslogtreecommitdiff
path: root/deps/v8/src/debug/debug-frames.h
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2019-05-28 08:46:21 -0400
committerRefael Ackermann <refack@gmail.com>2019-06-01 09:55:12 -0400
commited74896b1fae1c163b3906163f3bf46326618ddb (patch)
tree7fb05c5a19808e0c5cd95837528e9005999cf540 /deps/v8/src/debug/debug-frames.h
parent2a850cd0664a4eee51f44d0bb8c2f7a3fe444154 (diff)
downloadnode-new-ed74896b1fae1c163b3906163f3bf46326618ddb.tar.gz
deps: update V8 to 7.5.288.22
PR-URL: https://github.com/nodejs/node/pull/27375 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'deps/v8/src/debug/debug-frames.h')
-rw-r--r--deps/v8/src/debug/debug-frames.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/deps/v8/src/debug/debug-frames.h b/deps/v8/src/debug/debug-frames.h
index 34f3226890..9c4fafd404 100644
--- a/deps/v8/src/debug/debug-frames.h
+++ b/deps/v8/src/debug/debug-frames.h
@@ -9,6 +9,7 @@
#include "src/frames.h"
#include "src/isolate.h"
#include "src/objects.h"
+#include "src/v8threads.h"
#include "src/wasm/wasm-interpreter.h"
namespace v8 {
@@ -64,6 +65,24 @@ class FrameInspector {
DISALLOW_COPY_AND_ASSIGN(FrameInspector);
};
+
+class RedirectActiveFunctions : public ThreadVisitor {
+ public:
+ enum class Mode {
+ kUseOriginalBytecode,
+ kUseDebugBytecode,
+ };
+
+ explicit RedirectActiveFunctions(SharedFunctionInfo shared, Mode mode);
+
+ void VisitThread(Isolate* isolate, ThreadLocalTop* top) override;
+
+ private:
+ SharedFunctionInfo shared_;
+ Mode mode_;
+ DisallowHeapAllocation no_gc_;
+};
+
} // namespace internal
} // namespace v8