Unreviewed, fix the build...
authorkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Jun 2018 01:34:11 +0000 (01:34 +0000)
committerkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Jun 2018 01:34:11 +0000 (01:34 +0000)
* runtime/JSArray.cpp:
(JSC::JSArray::tryCreateUninitializedRestricted):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/JSArray.cpp

index a5f2706..13a25db 100644 (file)
@@ -1,5 +1,12 @@
 2018-06-18  Keith Miller  <keith_miller@apple.com>
 
+        Unreviewed, fix the build...
+
+        * runtime/JSArray.cpp:
+        (JSC::JSArray::tryCreateUninitializedRestricted):
+
+2018-06-18  Keith Miller  <keith_miller@apple.com>
+
         Unreviewed, remove bad assertion.
 
         * runtime/JSArray.cpp:
index aa76bc0..0392d2a 100644 (file)
@@ -51,8 +51,6 @@ JSArray* JSArray::tryCreateUninitializedRestricted(ObjectInitializationScope& sc
         return 0;
 
     unsigned outOfLineStorage = structure->outOfLineCapacity();
-    JSGlobalObject* globalObject = structure->globalObject();
-
     Butterfly* butterfly;
     IndexingType indexingType = structure->indexingType();
     if (LIKELY(!hasAnyArrayStorage(indexingType))) {