Bug 829602 - Switch to self-hosted ParallelArray. r=dvander,till

This commit is contained in:
Nicholas D. Matsakis
2013-03-04 13:23:24 -05:00
parent 14c8913fad
commit ae4445fd6b
139 changed files with 3622 additions and 2892 deletions

View File

@@ -30,7 +30,6 @@
#include "jsproxy.h"
#include "jsscript.h"
#include "builtin/ParallelArray.h"
#include "ds/Sort.h"
#include "frontend/TokenStream.h"
#include "gc/Marking.h"
@@ -41,7 +40,6 @@
#include "jsobjinlines.h"
#include "builtin/Iterator-inl.h"
#include "builtin/ParallelArray-inl.h"
#include "vm/Stack-inl.h"
#include "vm/String-inl.h"
@@ -203,14 +201,6 @@ Snapshot(JSContext *cx, RawObject pobj_, unsigned flags, AutoIdVector *props)
return false;
if (!EnumerateNativeProperties(cx, pobj, flags, ht, props))
return false;
} else if (ParallelArrayObject::is(pobj)) {
if (!ParallelArrayObject::enumerate(cx, pobj, flags, props))
return false;
/*
* ParallelArray objects enumerate the prototype on their own, so
* we are done here.
*/
break;
} else {
if (pobj->isProxy()) {
AutoIdVector proxyProps(cx);