mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
LibJS: Make native function/property callbacks take VM, not Interpreter
More work on decoupling the general runtime from Interpreter. The goal is becoming clearer. Interpreter should be one possible way to execute code inside a VM. In the future we might have other ways :^)
This commit is contained in:
parent
1ff9d33131
commit
340a115dfe
64 changed files with 1160 additions and 1114 deletions
|
@ -300,7 +300,7 @@ Value VM::get_new_target() const
|
|||
return get_this_environment()->new_target();
|
||||
}
|
||||
|
||||
Value VM::call(Function& function, Value this_value, Optional<MarkedValueList> arguments)
|
||||
Value VM::call_internal(Function& function, Value this_value, Optional<MarkedValueList> arguments)
|
||||
{
|
||||
ASSERT(!exception());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue