mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibGC+Everywhere: Factor out a LibGC from LibJS
Resulting in a massive rename across almost everywhere! Alongside the namespace change, we now have the following names: * JS::NonnullGCPtr -> GC::Ref * JS::GCPtr -> GC::Ptr * JS::HeapFunction -> GC::Function * JS::CellImpl -> GC::Cell * JS::Handle -> GC::Root
This commit is contained in:
committed by
Andreas Kling
parent
ce23efc5f6
commit
f87041bf3a
@@ -17,7 +17,7 @@ namespace JS {
|
||||
|
||||
class DeclarativeEnvironment : public Environment {
|
||||
JS_ENVIRONMENT(DeclarativeEnvironment, Environment);
|
||||
JS_DECLARE_ALLOCATOR(DeclarativeEnvironment);
|
||||
GC_DECLARE_ALLOCATOR(DeclarativeEnvironment);
|
||||
|
||||
struct Binding {
|
||||
DeprecatedFlyString name;
|
||||
@@ -73,7 +73,7 @@ private:
|
||||
ThrowCompletionOr<Value> get_binding_value_direct(VM&, Binding const&) const;
|
||||
ThrowCompletionOr<void> set_mutable_binding_direct(VM&, Binding&, Value, bool strict);
|
||||
|
||||
friend Completion dispose_resources(VM&, GCPtr<DeclarativeEnvironment>, Completion);
|
||||
friend Completion dispose_resources(VM&, GC::Ptr<DeclarativeEnvironment>, Completion);
|
||||
Vector<DisposableResource> const& disposable_resource_stack() const { return m_disposable_resource_stack; }
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user