Closed Bug 659439 Opened 14 years ago Closed 14 years ago

TI+JM: [infer failure] Missing type in object #6:22:Object x: BoundFunction

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Unassigned)

References

Details

-- function bind(f) { return f.call.apply(f.bind, arguments); }; function h(a, b) { a.x; } function g(a, b) { a.x = b; h(a); } function f() { for(var i=0; i<20; i++) { g.call(this, {}, bind(function(){})); } } f(); -- $ ./js -m -n -a test.js [infer failure] Missing type in object #6:22:Object x: BoundFunction
Lowered Function.call could go through the fast entry point of its callee (bypassing argument type checks). Fix marks all FUNCALL and FUNAPPLY sites as monitored. This is a recent regression, these natives used to be cluttered with special type handlers marking the site as monitored (in changing this, I somehow thought lowered FUNCALL always went through the arity check in the same way as lowered FUNAPPLY). http://hg.mozilla.org/projects/jaegermonkey/rev/3b0ae9af7194
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.