summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-10-20 01:40:40 +0300
committerLinus Groh <mail@linusgroh.de>2021-10-20 12:27:19 +0100
commit40eb3a39d41fe0c3242b586da9cf7e4ce2fcbf13 (patch)
treea2512e65916d2bebcb71c6dd07b11fb1929b17c8 /Meta/Lagom/Fuzzers
parentca27e5eff56ebdaf7f990296c6429f1b3afaa057 (diff)
downloadserenity-40eb3a39d41fe0c3242b586da9cf7e4ce2fcbf13.zip
LibJS: Rename define_native_function => define_old_native_function
This method will eventually be removed once all native functions are converted to ThrowCompletionOr
Diffstat (limited to 'Meta/Lagom/Fuzzers')
-rw-r--r--Meta/Lagom/Fuzzers/FuzzilliJs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
index 7afc6dea57..f30fbb5c9f 100644
--- a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
+++ b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
@@ -171,7 +171,7 @@ void TestRunnerGlobalObject::initialize_global_object()
{
Base::initialize_global_object();
define_direct_property("global", this, JS::Attribute::Enumerable);
- define_native_function("fuzzilli", fuzzilli, 2, JS::default_attributes);
+ define_old_native_function("fuzzilli", fuzzilli, 2, JS::default_attributes);
}
int main(int, char**)