]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/NumericStrings.h
JavaScriptCore-7600.1.4.16.1.tar.gz
[apple/javascriptcore.git] / runtime / NumericStrings.h
index 4cd92fc1f2f67d6c5136fef3b273d41cfefa270b..3bb5b91c815ece3b834fca295451e8f0d6fa2b03 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef NumericStrings_h
 #define NumericStrings_h
 
-#include <wtf/FixedArray.h>
+#include <array>
 #include <wtf/HashFunctions.h>
 #include <wtf/text/WTFString.h>
 
@@ -87,10 +87,10 @@ namespace JSC {
             return smallIntCache[i];
         }
 
-        FixedArray<CacheEntry<double>, cacheSize> doubleCache;
-        FixedArray<CacheEntry<int>, cacheSize> intCache;
-        FixedArray<CacheEntry<unsigned>, cacheSize> unsignedCache;
-        FixedArray<String, cacheSize> smallIntCache;
+        std::array<CacheEntry<double>, cacheSize> doubleCache;
+        std::array<CacheEntry<int>, cacheSize> intCache;
+        std::array<CacheEntry<unsigned>, cacheSize> unsignedCache;
+        std::array<String, cacheSize> smallIntCache;
     };
 
 } // namespace JSC