зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset f88b64c38d3d (bug 1120655) for adding hazards to a CLOSED TREE
This commit is contained in:
Родитель
ff83eecae4
Коммит
9da01a4e7f
|
@ -281,8 +281,3 @@ function isOverridableField(initialCSU, csu, field)
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
function isGCPointer(typeName)
|
||||
{
|
||||
return typeName.indexOf("CompartmentsIter") != -1;
|
||||
}
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
loadRelativeToScript('utility.js');
|
||||
loadRelativeToScript('annotations.js');
|
||||
|
||||
var annotatedGCPointers = [];
|
||||
|
||||
function processCSU(csu, body)
|
||||
{
|
||||
if (!("DataField" in body))
|
||||
|
@ -27,8 +25,6 @@ function processCSU(csu, body)
|
|||
addNestedStructure(csu, type.Name, fieldName);
|
||||
}
|
||||
}
|
||||
if (isGCPointer(csu))
|
||||
annotatedGCPointers.push(csu);
|
||||
}
|
||||
|
||||
var structureParents = {}; // Map from field => list of <parent, fieldName>
|
||||
|
@ -147,9 +143,6 @@ addGCType('js::ion::IonCode');
|
|||
addGCPointer('JS::Value');
|
||||
addGCPointer('jsid');
|
||||
|
||||
for (var typeName of annotatedGCPointers)
|
||||
addGCPointer(typeName);
|
||||
|
||||
// AutoCheckCannotGC should also not be held live across a GC function.
|
||||
addGCPointer('JS::AutoCheckCannotGC');
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче