mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:57:35 +00:00
LibJS: Rename ExecutionContext::callee => function
This matches what ECMAScript calls it. Also make it a JS::Function* instead of a generic Value, since it will always either be a function object or null.
This commit is contained in:
parent
c2ad599783
commit
6215a9c2cb
2 changed files with 5 additions and 5 deletions
|
@ -45,7 +45,7 @@ struct ScopeFrame {
|
|||
struct ExecutionContext {
|
||||
const ASTNode* current_node { nullptr };
|
||||
FlyString function_name;
|
||||
Value callee;
|
||||
Function* function { nullptr };
|
||||
Value this_value;
|
||||
Vector<Value> arguments;
|
||||
Array* arguments_object { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue