X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/9dae56ea45a0f5f8136a5c93d6f3a7f99399ca73..ba379fdc102753d6be2c4d937058fe40257329fe:/wrec/WREC.cpp diff --git a/wrec/WREC.cpp b/wrec/WREC.cpp index 32e016f..145a1ce 100644 --- a/wrec/WREC.cpp +++ b/wrec/WREC.cpp @@ -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(generator.copyCode(pool.get())); }