New Tag scheme, no SetObject silliness

This commit is contained in:
Luke Wagner
2010-05-12 16:36:10 -07:00
parent 9c76bf645d
commit 2ebaed25ab
22 changed files with 427 additions and 433 deletions

View File

@@ -103,9 +103,9 @@ ExtendedClass js_IteratorClass = {
void
NativeIterator::mark(JSTracer *trc)
{
for (jsval *vp = props_array; vp < props_end; ++vp) {
for (Value *vp = props_array; vp < props_end; ++vp) {
JS_SET_TRACING_INDEX(trc, "props", (vp - props_array));
js_CallValueTracerIfGCThing(trc, *vp);
CallGCMarkerIfGCThing(trc, *vp);
}
}