diff options
author | Andreas Kling <kling@serenityos.org> | 2020-11-28 14:33:36 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-28 17:16:48 +0100 |
commit | 98f2da9834e80b125983fe59c804e39bc362f7ce (patch) | |
tree | 3c1698591cd9612f78a420050caad412110bf35c /Libraries/LibJS/Runtime/ScriptFunction.h | |
parent | 97a05ac9ac56ed01720867443006db711898dbd1 (diff) | |
download | serenity-98f2da9834e80b125983fe59c804e39bc362f7ce.zip |
LibJS: Rename Cell::visit_children() => Cell::visit_edges()
The GC heap is really a graph of cells, so "children" didn't quite feel
appropriate here.
Diffstat (limited to 'Libraries/LibJS/Runtime/ScriptFunction.h')
-rw-r--r-- | Libraries/LibJS/Runtime/ScriptFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/ScriptFunction.h b/Libraries/LibJS/Runtime/ScriptFunction.h index 9592b5ef35..346d6e8219 100644 --- a/Libraries/LibJS/Runtime/ScriptFunction.h +++ b/Libraries/LibJS/Runtime/ScriptFunction.h @@ -58,7 +58,7 @@ protected: private: virtual bool is_script_function() const override { return true; } virtual LexicalEnvironment* create_environment() override; - virtual void visit_children(Visitor&) override; + virtual void visit_edges(Visitor&) override; Value execute_function_body(); |