]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - parser/SourceProvider.cpp
JavaScriptCore-7600.1.4.15.12.tar.gz
[apple/javascriptcore.git] / parser / SourceProvider.cpp
index 47b29aa379fbdeef5f898a209a806b5a8c7b3d29..939addfbd58b173cbf6bddcc8f1f74d6e9db4ec4 100644 (file)
@@ -25,6 +25,8 @@
 
 #include "config.h"
 #include "SourceProvider.h"
+
+#include "JSCInlines.h"
 #include <wtf/StdLibExtras.h>
 #include <wtf/TCSpinLock.h>
 
@@ -42,11 +44,6 @@ SourceProvider::~SourceProvider()
 {
 }
 
-static inline size_t charPositionExtractor(const size_t* value)
-{
-    return *value;
-}
-
 static TCMalloc_SpinLock providerIdLock = SPINLOCK_INITIALIZER;
 
 void SourceProvider::getID()