Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/heap/cppgc/stack.h')
-rw-r--r--deps/v8/src/heap/cppgc/stack.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/deps/v8/src/heap/cppgc/stack.h b/deps/v8/src/heap/cppgc/stack.h
index 599bf3a54a0..3f561aed08e 100644
--- a/deps/v8/src/heap/cppgc/stack.h
+++ b/deps/v8/src/heap/cppgc/stack.h
@@ -7,11 +7,6 @@
#include "src/base/macros.h"
-// TODO(chromium:1056170): Implement all platforms.
-#if defined(V8_TARGET_ARCH_X64)
-#define CPPGC_SUPPORTS_CONSERVATIVE_STACK_SCAN 1
-#endif
-
namespace cppgc {
namespace internal {
@@ -33,13 +28,12 @@ class V8_EXPORT_PRIVATE Stack final {
// Word-aligned iteration of the stack. Slot values are passed on to
// |visitor|.
-#ifdef CPPGC_SUPPORTS_CONSERVATIVE_STACK_SCAN
void IteratePointers(StackVisitor* visitor) const;
-#endif // CPPGC_SUPPORTS_CONSERVATIVE_STACK_SCAN
- private:
- void IteratePointersImpl(StackVisitor* visitor, intptr_t* stack_end) const;
+ // Returns the start of the stack.
+ const void* stack_start() const { return stack_start_; }
+ private:
const void* stack_start_;
};