]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - wrec/WREC.cpp
JavaScriptCore-554.1.tar.gz
[apple/javascriptcore.git] / wrec / WREC.cpp
index 32e016fd783429c6618ec0ae4fa72132e98dddc5..145a1cee8f3604d9e527562b725807ef6ab96fa5 100644 (file)
@@ -77,7 +77,7 @@ CompiledRegExp Generator::compileRegExp(JSGlobalData* globalData, const UString&
     }
 
     *numSubpatterns_ptr = parser.numSubpatterns();
-    pool = globalData->poolForSize(generator.size());
+    pool = globalData->executableAllocator.poolForSize(generator.size());
     return reinterpret_cast<CompiledRegExp>(generator.copyCode(pool.get()));
 }