summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/RegExpObject.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-09-27 20:03:42 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-27 20:26:58 +0200
commit591b7b7031844a3807d9ee1338f979fba1e1a78b (patch)
tree4abca03c1ccbfdadc9bff6f6991f2ff79c9aa4d3 /Libraries/LibJS/Runtime/RegExpObject.cpp
parentadf0a537aff6da0519a140e69a5d26228aa65855 (diff)
downloadserenity-591b7b7031844a3807d9ee1338f979fba1e1a78b.zip
LibJS: Remove js_string(Interpreter&, ...)
Diffstat (limited to 'Libraries/LibJS/Runtime/RegExpObject.cpp')
-rw-r--r--Libraries/LibJS/Runtime/RegExpObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/RegExpObject.cpp b/Libraries/LibJS/Runtime/RegExpObject.cpp
index 34637e398b..b41d0a767d 100644
--- a/Libraries/LibJS/Runtime/RegExpObject.cpp
+++ b/Libraries/LibJS/Runtime/RegExpObject.cpp
@@ -52,7 +52,7 @@ RegExpObject::~RegExpObject()
Value RegExpObject::to_string() const
{
- return js_string(interpreter(), String::format("/%s/%s", content().characters(), flags().characters()));
+ return js_string(heap(), String::format("/%s/%s", content().characters(), flags().characters()));
}
}