[PlayStation][JSC] Unreviewed build fix.
authorross.kirsling@sony.com <ross.kirsling@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Nov 2019 18:37:53 +0000 (18:37 +0000)
committerross.kirsling@sony.com <ross.kirsling@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Nov 2019 18:37:53 +0000 (18:37 +0000)
* shell/playstation/TestShell.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@252243 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/shell/playstation/TestShell.cpp

index d330be3..9c0836f 100644 (file)
@@ -1,3 +1,9 @@
+2019-11-08  Ross Kirsling  <ross.kirsling@sony.com>
+
+        [PlayStation][JSC] Unreviewed build fix.
+
+        * shell/playstation/TestShell.cpp:
+
 2019-11-07  Mark Lam  <mark.lam@apple.com>
 
         Add a stack overflow check in Yarr::ByteCompiler::emitDisjunction().
index 1f379c8..57a24fe 100644 (file)
@@ -33,7 +33,7 @@ extern "C" void setupTestRun()
     WTF::initializeThreading();
 
     // Need to override and enable restricted options before we start parsing options below.
-    Options::enableRestrictedOptions(true);
+    Config::enableRestrictedOptions();
 
     // Initialize JSC before getting VM.
     WTF::initializeMainThread();
@@ -42,15 +42,15 @@ extern "C" void setupTestRun()
 #if ENABLE(WEBASSEMBLY)
     JSC::Wasm::enableFastMemory();
 #endif
-    Gigacage::disableDisablingPrimitiveGigacageIfShouldBeEnabled();
+    Gigacage::forbidDisablingPrimitiveGigacage();
 }
 
 extern "C" void preTest()
 {
-#define FOR_EACH_OPTION(type_, name_, defaultValue_, availability_, description_) \
+#define INIT_OPTION(type_, name_, defaultValue_, availability_, description_) \
     JSC::Options::name_() = JSC::Options::name_##Default();
-    JSC_OPTIONS(FOR_EACH_OPTION)
-#undef FOR_EACH_OPTION
+    FOR_EACH_JSC_OPTION(INIT_OPTION)
+#undef INIT_OPTION
 }
 
 extern "C" int runTest(int argc, char* argv[])