Closed Bug 465473 Opened 16 years ago Closed 16 years ago

TM: JIT adds (new Boolean(true)) as a string

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 465460

People

(Reporter: jruderman, Assigned: brendan)

Details

(Keywords: testcase)

Interpreter and JIT give different results:

cat ~/c.js
var b = new Boolean(true);
for (let i = 0; i < 5; ++i) print('' + (b + 0));


./js ~/c.js
1
1
1
1
1

./js -j ~/c.js
1
true0
1
1
1
Flags: blocking1.9.1+
This is an issue with Brendan's imacros in JSOP_ADD. Its being reworked atm. I suggest Brendan adds this to his set of test cases to run against.
Assignee: general → brendan
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.