summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-09-27 19:46:29 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-27 20:26:58 +0200
commit30ca9acd9cc2d5da62a7780d27d8a5f4fa6e165a (patch)
tree8e63682492f85adbeda88f0f88effb9b4cb58e5e
parentaaa8b48a4cffc708e266563afd1ecf3c92227c1a (diff)
downloadserenity-30ca9acd9cc2d5da62a7780d27d8a5f4fa6e165a.zip
LibJS: Remove unused js_symbol(Interpreter&, ...)
-rw-r--r--Libraries/LibJS/Runtime/Symbol.cpp5
-rw-r--r--Libraries/LibJS/Runtime/Symbol.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/Libraries/LibJS/Runtime/Symbol.cpp b/Libraries/LibJS/Runtime/Symbol.cpp
index 2f2bde0e73..a477e2dfa8 100644
--- a/Libraries/LibJS/Runtime/Symbol.cpp
+++ b/Libraries/LibJS/Runtime/Symbol.cpp
@@ -50,9 +50,4 @@ Symbol* js_symbol(VM& vm, String description, bool is_global)
return js_symbol(vm.heap(), move(description), is_global);
}
-Symbol* js_symbol(Interpreter& interpreter, String description, bool is_global)
-{
- return js_symbol(interpreter.heap(), description, is_global);
-}
-
}
diff --git a/Libraries/LibJS/Runtime/Symbol.h b/Libraries/LibJS/Runtime/Symbol.h
index 2b829e4a65..b0f5bb49fa 100644
--- a/Libraries/LibJS/Runtime/Symbol.h
+++ b/Libraries/LibJS/Runtime/Symbol.h
@@ -51,7 +51,6 @@ private:
};
Symbol* js_symbol(Heap&, String description, bool is_global);
-Symbol* js_symbol(Interpreter&, String description, bool is_global);
Symbol* js_symbol(VM&, String description, bool is_global);
}