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

RESOLVED WORKSFORME

Status

()

Core
JavaScript Engine
--
minor
RESOLVED WORKSFORME
9 years ago
7 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {testcase})

Trunk
testcase
Points:
---
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
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
Last Resolved: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.