Bug 1149352 - Part 7: Move String marking to TraceEdge; r=jonco

This commit is contained in:
Terrence Cole
2015-03-30 15:14:23 -07:00
parent fb354b3268
commit 09d02cf58b
23 changed files with 58 additions and 69 deletions

View File

@@ -58,7 +58,7 @@ void
NativeIterator::mark(JSTracer* trc)
{
for (HeapPtrFlatString* str = begin(); str < end(); str++)
MarkString(trc, str, "prop");
TraceEdge(trc, str, "prop");
if (obj)
MarkObject(trc, &obj, "obj");