mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
LibJS: Make more Interpreter functions take a GlobalObject&
This commit is contained in:
parent
053863f35e
commit
5042e560ef
9 changed files with 47 additions and 47 deletions
|
@ -94,7 +94,7 @@ ConsoleWidget::ConsoleWidget()
|
|||
output_html.append(String::format("<pre>%s</pre>", hint.characters()));
|
||||
m_interpreter->throw_exception<JS::SyntaxError>(error.to_string());
|
||||
} else {
|
||||
m_interpreter->run(*program);
|
||||
m_interpreter->run(m_interpreter->global_object(),*program);
|
||||
}
|
||||
|
||||
if (m_interpreter->exception()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue