mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 04:27:35 +00:00
LibJS: Make Value::to_object() take a GlobalObject&
This commit is contained in:
parent
cd14ebb11f
commit
8d56e6103e
28 changed files with 129 additions and 129 deletions
|
@ -61,7 +61,7 @@ BoundFunction* Function::bind(Value bound_this_value, Vector<Value> arguments)
|
|||
return bound_this_value;
|
||||
return &global_object();
|
||||
default:
|
||||
return bound_this_value.to_object(interpreter());
|
||||
return bound_this_value.to_object(interpreter(), global_object());
|
||||
}
|
||||
}();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue