Backed out changeset eef5f845fb75 (bug 829602) for intermittent jit-test failures.

This commit is contained in:
Ryan VanderMeulen
2013-03-04 15:41:27 -05:00
parent 8e1f01a1d1
commit 2456275505
139 changed files with 2891 additions and 3621 deletions

View File

@@ -30,6 +30,7 @@
#include "jsproxy.h"
#include "jsscript.h"
#include "builtin/ParallelArray.h"
#include "ds/Sort.h"
#include "frontend/TokenStream.h"
#include "gc/Marking.h"
@@ -40,6 +41,7 @@
#include "jsobjinlines.h"
#include "builtin/Iterator-inl.h"
#include "builtin/ParallelArray-inl.h"
#include "vm/Stack-inl.h"
#include "vm/String-inl.h"
@@ -201,6 +203,14 @@ 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);