X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/93a3786624b2768d89bfa27e46598dc64e2fb70a..refs/heads/master:/runtime/RegExpCache.cpp diff --git a/runtime/RegExpCache.cpp b/runtime/RegExpCache.cpp index 1ab3f5f..dbe647f 100644 --- a/runtime/RegExpCache.cpp +++ b/runtime/RegExpCache.cpp @@ -29,7 +29,7 @@ #include "config.h" #include "RegExpCache.h" -#include "Operations.h" +#include "JSCInlines.h" #include "RegExpObject.h" #include "StrongInlines.h" @@ -46,7 +46,7 @@ RegExp* RegExpCache::lookupOrCreate(const String& patternString, RegExpFlags fla m_vm->addRegExpToTrace(regExp); #endif - weakAdd(m_weakCache, key, PassWeak(regExp, this)); + weakAdd(m_weakCache, key, Weak(regExp, this)); return regExp; }