Unreviewed, build fix after r241954
authorysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Feb 2019 19:15:42 +0000 (19:15 +0000)
committerysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Feb 2019 19:15:42 +0000 (19:15 +0000)
https://bugs.webkit.org/show_bug.cgi?id=194939

Renaming setCanAccessHeap was incomplete.

* runtime/SmallStrings.cpp:
(JSC::SmallStrings::initializeCommonStrings):
* runtime/VM.cpp:
(JSC::VM::~VM):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/SmallStrings.cpp
Source/JavaScriptCore/runtime/VM.cpp

index 2ef673b..708dc2e 100644 (file)
@@ -1,5 +1,17 @@
 2019-02-22  Yusuke Suzuki  <ysuzuki@apple.com>
 
+        Unreviewed, build fix after r241954
+        https://bugs.webkit.org/show_bug.cgi?id=194939
+
+        Renaming setCanAccessHeap was incomplete.
+
+        * runtime/SmallStrings.cpp:
+        (JSC::SmallStrings::initializeCommonStrings):
+        * runtime/VM.cpp:
+        (JSC::VM::~VM):
+
+2019-02-22  Yusuke Suzuki  <ysuzuki@apple.com>
+
         [JSC] SmallStringsStorage is unnecessary
         https://bugs.webkit.org/show_bug.cgi?id=194939
 
index 54fdab9..bb32f61 100644 (file)
@@ -60,7 +60,7 @@ void SmallStrings::initializeCommonStrings(VM& vm)
     initialize(&vm, m_nullObjectString, "[object Null]");
     initialize(&vm, m_undefinedObjectString, "[object Undefined]");
 
-    setInitialized(true);
+    setIsInitialized(true);
 }
 
 void SmallStrings::visitStrongReferences(SlotVisitor& visitor)
index 9c1e928..0d1efc9 100644 (file)
@@ -540,7 +540,7 @@ VM::~VM()
 
     ASSERT(currentThreadIsHoldingAPILock());
     m_apiLock->willDestroyVM(this);
-    smallStrings.setInitialized(false);
+    smallStrings.setIsInitialized(false);
     heap.lastChanceToFinalize();
 
     JSRunLoopTimer::Manager::shared().unregisterVM(*this);