-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
src: fix pointer compression build #50680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -678,7 +678,7 @@ Local<String> UnionBytes::ToStringChecked(Isolate* isolate) const { | |
| } | ||
| } | ||
|
|
||
| RAIIIsolate::RAIIIsolate(const SnapshotData* data) | ||
| RAIIIsolateWithoutEntering::RAIIIsolateWithoutEntering(const SnapshotData* data) | ||
| : allocator_{ArrayBuffer::Allocator::NewDefaultAllocator()} { | ||
| isolate_ = Isolate::Allocate(); | ||
| CHECK_NOT_NULL(isolate_); | ||
|
|
@@ -692,9 +692,14 @@ RAIIIsolate::RAIIIsolate(const SnapshotData* data) | |
| Isolate::Initialize(isolate_, params); | ||
| } | ||
|
|
||
| RAIIIsolate::~RAIIIsolate() { | ||
| RAIIIsolateWithoutEntering::~RAIIIsolateWithoutEntering() { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This name is icky. Better suggestions are welcome - maybe RAIIIsolate needs to be renamed too?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we need this special case? Isn't re-entering of isolates allowed anyways?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this is only for the theoretical interference with outer Isolate scopes, I think we can simply |
||
| per_process::v8_platform.Platform()->UnregisterIsolate(isolate_); | ||
| isolate_->Dispose(); | ||
| } | ||
|
|
||
| RAIIIsolate::RAIIIsolate(const SnapshotData* data) | ||
| : isolate_{data}, isolate_scope_{isolate_.get()} {} | ||
|
|
||
| RAIIIsolate::~RAIIIsolate() {} | ||
|
|
||
| } // namespace node | ||
Uh oh!
There was an error while loading. Please reload this page.