Skip to content

Commit

Permalink
chore: fixup patch indices
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Jun 9, 2021
1 parent b180c9c commit 63471e9
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ index 691c16ba60b0ce8633555825e44c3ace96c5000f..ccb452bbe941c30fdc8c4eb616eb6f02
NODE_EXTERN void FreePlatform(MultiIsolatePlatform* platform));

diff --git a/src/node_platform.cc b/src/node_platform.cc
index 564edd033e6275a6dc34641ed7eb67f92011f972..1ec78bab9bd1e5ace39b5a6a46977edd64e50754 100644
index eb918bdd559c404a0e311e0dd92cfee8940491bc..5be79694fef65c9290f1b46d2657581dea16f543 100644
--- a/src/node_platform.cc
+++ b/src/node_platform.cc
@@ -324,12 +324,16 @@ void PerIsolatePlatformData::DecreaseHandleCount() {
Expand All @@ -80,7 +80,7 @@ index 564edd033e6275a6dc34641ed7eb67f92011f972..1ec78bab9bd1e5ace39b5a6a46977edd
// TODO(addaleax): It's a bit icky that we use global state here, but we can't
// really do anything about it unless V8 starts exposing a way to access the
// current v8::Platform instance.
@@ -550,6 +550,10 @@ Platform::StackTracePrinter NodePlatform::GetStackTracePrinter() {
@@ -550,6 +554,10 @@ Platform::StackTracePrinter NodePlatform::GetStackTracePrinter() {
};
}

Expand All @@ -91,9 +91,8 @@ index 564edd033e6275a6dc34641ed7eb67f92011f972..1ec78bab9bd1e5ace39b5a6a46977edd
template <class T>
TaskQueue<T>::TaskQueue()
: lock_(), tasks_available_(), tasks_drained_(),

diff --git a/src/node_platform.h b/src/node_platform.h
index 94cbfc9c55a9ace52f39e22eccfcd8b9eacd0186..8921fe2303c9ef8cbe7ca3f5e16e31a9e4b7d22c 100644
index a7139ebdcc28d24087fb49697a0973331e0387a6..4a05f3bba58c8e875d0ab67f292589edbb3b812b 100644
--- a/src/node_platform.h
+++ b/src/node_platform.h
@@ -138,7 +138,8 @@ class WorkerThreadsTaskRunner {
Expand All @@ -106,15 +105,15 @@ index 94cbfc9c55a9ace52f39e22eccfcd8b9eacd0186..8921fe2303c9ef8cbe7ca3f5e16e31a9
~NodePlatform() override;

void DrainTasks(v8::Isolate* isolate) override;
@@ -171,6 +172,7 @@ class NodePlatform : public MultiIsolatePlatform {
@@ -170,6 +171,7 @@ class NodePlatform : public MultiIsolatePlatform {
v8::Isolate* isolate) override;

Platform::StackTracePrinter GetStackTracePrinter() override;
+ v8::PageAllocator* GetPageAllocator() override;

private:
IsolatePlatformDelegate* ForIsolate(v8::Isolate* isolate);
@@ -182,6 +184,7 @@ class NodePlatform : public MultiIsolatePlatform {
@@ -181,6 +183,7 @@ class NodePlatform : public MultiIsolatePlatform {
std::unordered_map<v8::Isolate*, DelegatePair> per_isolate_;

v8::TracingController* tracing_controller_;
Expand Down

0 comments on commit 63471e9

Please sign in to comment.