cppgc: Assumption of stack location doesn't hold on Mac
Bug: v8:12067 Change-Id: I69cfde8aa37c687cd1daffffc54e6de166ea65dc Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3085277 Commit-Queue: Omer Katz <omerkatz@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Auto-Submit: Omer Katz <omerkatz@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#76205}
This commit is contained in:
parent
82f7b654b8
commit
8d12fa96c3
@ -153,11 +153,11 @@ V8_EXPORT void Abort();
|
|||||||
|
|
||||||
// static
|
// static
|
||||||
constexpr bool Platform::StackAddressesSmallerThanHeapAddresses() {
|
constexpr bool Platform::StackAddressesSmallerThanHeapAddresses() {
|
||||||
#if V8_OS_WIN || V8_OS_FUCHSIA
|
#if V8_OS_WIN || V8_OS_FUCHSIA || V8_OS_MACOSX
|
||||||
return false;
|
return false;
|
||||||
#else
|
#else
|
||||||
return true;
|
return true;
|
||||||
#endif // V8_OS_WIN || V8_OS_FUCHSIA
|
#endif // V8_OS_WIN || V8_OS_FUCHSIA || V8_OS_MACOSX
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace cppgc
|
} // namespace cppgc
|
||||||
|
Loading…
Reference in New Issue
Block a user