TI: Mochitest-2 prototype test failures

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jandem, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

1.34 KB, application/x-javascript
Details
(Reporter)

Description

6 years ago
Created attachment 526979 [details]
Testcase

See attachment for a shell test case.
--
$ ./js -n -m test.js
test.js:49: TypeError: result[0].join is not a function
--
Regression from http://hg.mozilla.org/projects/jaegermonkey/rev/3816e4abb158

The iterator.call(..) in Enumerable.map returns the call function at some point so the return value is not set.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 642772
Oops, wrong bug.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Tricky call path corner case.  The slow paths in lowered call/apply calls store their return value in the wrong place (the address of the 'this' value, not the callee) and the rejoin code in the call path has to be special cased.  The corresponding part of the rejoin path emitted for calls did not do this special casing, so if we recompiled while handling a call/apply we would reload the original Function.call or Function.apply as the return value.

http://hg.mozilla.org/projects/jaegermonkey/rev/44392a434cb1
Status: REOPENED → RESOLVED
Last Resolved: 6 years ago6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.