Skip to content

Commit d48d61a

Browse files
joyeecheungjasnell
andauthored
fixup! src: remove dependency on wrapper-descriptor-based cpp heap
Co-authored-by: James M Snell <jasnell@gmail.com>
1 parent 1a14799 commit d48d61a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/env.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "util-inl.h"
2424
#include "v8-cppgc.h"
2525
#include "v8-profiler.h"
26-
#include "v8-sandbox.h"
26+
#include "v8-sandbox.h" // v8::Object::Wrap(), v8::Object::Unwrap()
2727

2828
#include <algorithm>
2929
#include <atomic>
@@ -524,7 +524,7 @@ void IsolateData::CreateProperties() {
524524
// the ecosystem is:
525525
// [ 0 ] -> embedder id
526526
// [ 1 ] -> wrappable instance
527-
// Now V8 has deprecated this layout-based tracing enablement, embeders
527+
// Now V8 has deprecated this layout-based tracing enablement, embedders
528528
// should simply use v8::Object::Wrap() and v8::Object::Unwrap(). We preserve
529529
// this layout only to distinguish internally how the memory of a Node.js
530530
// wrapper is managed or whether a wrapper is managed by Node.js.

0 commit comments

Comments
 (0)