Bug 1353758 - Move the external string cache into the JS engine and improve it. r=arai,bz

This commit is contained in:
Jan de Mooij
2017-04-07 10:40:29 +02:00
parent 182882424d
commit 9caa1cd6dc
14 changed files with 137 additions and 143 deletions

View File

@@ -595,8 +595,6 @@ CycleCollectedJSContext::Initialize(JSRuntime* aParentRuntime,
JS::SetLargeAllocationFailureCallback(mJSContext,
LargeAllocationFailureCallback, this);
JS_SetExternalStringSizeofCallback(mJSContext, SizeofExternalStringCallback);
JS_SetDestroyZoneCallback(mJSContext, XPCStringConvert::FreeZoneCache);
JS_SetSweepZoneCallback(mJSContext, XPCStringConvert::ClearZoneCache);
JS::SetBuildIdOp(mJSContext, GetBuildId);
JS::SetWarningReporter(mJSContext, MozCrashWarningReporter);
#ifdef MOZ_CRASHREPORTER