Backed out changeset a17cbb14793f (bug 510193) which caused trace-test.js to fail (spuriously) on x86.

This commit is contained in:
Jason Orendorff 2009-08-13 12:19:39 -05:00
Родитель ee20279d86
Коммит 6c09372d26
3 изменённых файлов: 6 добавлений и 42 удалений

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

@ -54,9 +54,3 @@ JITSTAT(returnLoopExits)
JITSTAT(mergedLoopExits)
JITSTAT(noCompatInnerTrees)
JITSTAT(blacklisted)
JITSTAT(archIsIA32)
JITSTAT(archIsAMD64)
JITSTAT(archIs64BIT)
JITSTAT(archIsARM)
JITSTAT(archIsSPARC)
JITSTAT(archIsPPC)

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

@ -1704,34 +1704,6 @@ TraceRecorder::TraceRecorder(JSContext* cx, VMSideExit* _anchor, Fragment* _frag
debug_only_printf(LC_TMTracer, "globalObj=%p, shape=%d\n",
(void*)this->globalObj, OBJ_SHAPE(this->globalObj));
/* Set up jitstats so that trace-test.js can determine which architecture
* we're running on. */
jitstats.archIsIA32 = 0;
jitstats.archIsAMD64 = 0;
jitstats.archIs64BIT = 0;
jitstats.archIsARM = 0;
jitstats.archIsSPARC = 0;
jitstats.archIsPPC = 0;
#if defined NANOJIT_IA32
jitstats.archIsIA32 = 1;
#endif
#if defined NANOJIT_ARM64
jitstats.archIsAMD64 = 1;
#endif
#if defined NANOJIT_64BIT
jitstats.archIs64BIT = 1;
#endif
#if defined NANOJIT_ARM
jitstats.archIsARM = 1;
#endif
#if defined NANOJIT_SPARC
jitstats.archIsSPARC = 1;
#endif
#if defined NANOJIT_PPC
jitstats.archIsPPC = 1;
#endif
#endif
lir = lir_buf_writer = new (&gc) LirBufWriter(lirbuf);

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

@ -4410,14 +4410,12 @@ function testTableSwitch2() {
}
assertEq(s, arr.join(""));
}
if (jitstats.archIsIA32) {
testTableSwitch2.jitstats = {
recorderStarted: 1,
sideExitIntoInterpreter: 4,
recorderAborted: 0,
traceCompleted: 3
};
}
testTableSwitch2.jitstats = {
recorderStarted: 1,
sideExitIntoInterpreter: 4,
recorderAborted: 0,
traceCompleted: 3
};
test(testTableSwitch2);
function testGeneratorDeepBail() {