Backed out changeset f88b64c38d3d (bug 1120655) for adding hazards to a CLOSED TREE

This commit is contained in:
Wes Kocher 2015-03-04 17:01:09 -08:00
Родитель ff83eecae4
Коммит 9da01a4e7f
2 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -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');