summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/Lagom/Fuzzers/FuzzilliJs.cpp')
-rw-r--r--Meta/Lagom/Fuzzers/FuzzilliJs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
index 95bf3cf4e4..7afc6dea57 100644
--- a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
+++ b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
@@ -125,7 +125,7 @@ public:
virtual void initialize_global_object() override;
private:
- JS_DECLARE_NATIVE_FUNCTION(fuzzilli);
+ JS_DECLARE_OLD_NATIVE_FUNCTION(fuzzilli);
};
TestRunnerGlobalObject::TestRunnerGlobalObject()
@@ -136,7 +136,7 @@ TestRunnerGlobalObject::~TestRunnerGlobalObject()
{
}
-JS_DEFINE_NATIVE_FUNCTION(TestRunnerGlobalObject::fuzzilli)
+JS_DEFINE_OLD_NATIVE_FUNCTION(TestRunnerGlobalObject::fuzzilli)
{
if (!vm.argument_count())
return JS::js_undefined();