diff options
Diffstat (limited to 'Userland/Applications/Spreadsheet')
-rw-r--r-- | Userland/Applications/Spreadsheet/Spreadsheet.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Userland/Applications/Spreadsheet/Spreadsheet.cpp b/Userland/Applications/Spreadsheet/Spreadsheet.cpp index eeeee7670b..188a4d8e59 100644 --- a/Userland/Applications/Spreadsheet/Spreadsheet.cpp +++ b/Userland/Applications/Spreadsheet/Spreadsheet.cpp @@ -166,9 +166,6 @@ Sheet::ValueAndException Sheet::evaluate(StringView source, Cell* on_behalf_of) if (parser.has_errors() || interpreter().exception()) return { JS::js_undefined(), interpreter().exception() }; - // FIXME: This creates a GlobalEnvironment for every evaluate call which we might be able to circumvent with multiple realms. - interpreter().realm().set_global_object(global_object(), &global_object()); - interpreter().run(global_object(), program); if (interpreter().exception()) { auto exc = interpreter().exception(); |