Skip to content

Commit 6291758

Browse files
committed
fixup! fixup! fixup! src: track cppgc wrappers with a list in Realm
1 parent 4bb01f9 commit 6291758

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cppgc_helpers.h

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ class CppgcMixin : public cppgc::GarbageCollectedMixin, public MemoryRetainer {
6767

6868
inline v8::Local<v8::Object> object() const;
6969
inline Environment* env() const;
70+
inline Realm* realm() const { return realm_; }
7071
inline v8::Local<v8::Object> object(v8::Isolate* isolate) const {
7172
return traced_reference_.Get(isolate);
7273
}

0 commit comments

Comments
 (0)