mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
Merge backout.
This commit is contained in:
commit
bc450ba21b
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user