mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:17:35 +00:00
LibJS: Move ordinary_call_bind_this() to ECMAScriptFunctionObject
Now that it only needs to deal with ECMAScriptFunctionObject via internal_call() / internal_construct(), we can: - Remove the generic FunctionObject parameter - Move it from the VM to ECMAScriptFunctionObject - Make it private
This commit is contained in:
parent
25bcd36116
commit
53af66d57d
4 changed files with 52 additions and 33 deletions
|
@ -274,9 +274,6 @@ public:
|
|||
void save_execution_context_stack();
|
||||
void restore_execution_context_stack();
|
||||
|
||||
// TODO: Move these elsewhere once only used for ECMAScriptFunctionObject.
|
||||
void ordinary_call_bind_this(FunctionObject&, ExecutionContext&, Value this_argument);
|
||||
|
||||
private:
|
||||
explicit VM(OwnPtr<CustomData>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue