summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/GeneratorObject.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-09-11 16:23:42 -0400
committerAndreas Kling <kling@serenityos.org>2021-09-12 01:40:56 +0200
commit9e57ea71afd3ca3da395849908664e06e7282710 (patch)
treedf865591f575839d66af20457b6ab8415fd5b0fb /Userland/Libraries/LibJS/Runtime/GeneratorObject.h
parent43e4cec3e228043413a6c06f7cc26c8a997ed338 (diff)
downloadserenity-9e57ea71afd3ca3da395849908664e06e7282710.zip
LibJS: Convert GeneratorObject.prototype to be a PrototypeObject
The added #include in GeneratorObject.h is to resolve usage of Bytecode::RegisterWindow.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/GeneratorObject.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/GeneratorObject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/GeneratorObject.h b/Userland/Libraries/LibJS/Runtime/GeneratorObject.h
index b83b627ffe..e0159ab9ab 100644
--- a/Userland/Libraries/LibJS/Runtime/GeneratorObject.h
+++ b/Userland/Libraries/LibJS/Runtime/GeneratorObject.h
@@ -6,6 +6,7 @@
#pragma once
+#include <LibJS/Bytecode/Interpreter.h>
#include <LibJS/Runtime/Object.h>
#include <LibJS/Runtime/OrdinaryFunctionObject.h>