Closed Bug 525518 Opened 15 years ago Closed 13 years ago

JIT and interpreter differ for ((new Error).stack)

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: testcase)

let r; for (let j = 0; j < 7; ++j) { r = ((new Error).stack); } print(r);

Interp    Error()@:0
JIT       Error((void 0),(void 0),(void 0),(void 0))@:0
In current a current js shell build, I get:

js> let r; for (let j = 0; j < 7; ++j) { r = ((new Error).stack); } print(r);
@typein:1
I should also note that the output is the same for Interp, JM, and JM+TI. WFM?
Flags: in-testsuite?
OS: Mac OS X → All
Hardware: x86 → All
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.