Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 649771 - TI: [infer failure] Missing type at #3:00024 pushed 0: RegExp:prototype
: TI: [infer failure] Missing type at #3:00024 pushed 0: RegExp:prototype
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: unspecified
: All All
: -- normal (vote)
: ---
Assigned To: general
: Jason Orendorff [:jorendorff]
Depends on:
Blocks: infer-regress
  Show dependency treegraph
Reported: 2011-04-13 13:10 PDT by Jan de Mooij [:jandem]
Modified: 2011-04-13 15:20 PDT (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description Jan de Mooij [:jandem] 2011-04-13 13:10:32 PDT
function f(o) {
    f = o.constructor;
    eval('delete o.x');
for(var i=0; i<3; i++) {
$ ./js -n -a test.js
[infer failure] Missing type at #3:00024 pushed 0: RegExp:prototype

Revision a3eeee8f7803.
Comment 1 Brian Hackett (:bhackett) 2011-04-13 15:20:14 PDT
The RegExp constructor has a path where it returns its own argument, but the type handler only accounted for the case where this was the default 'new' RegExp for the associated global and not another regexp like RegExp.prototype.

Note You need to log in before you can comment on or make changes to this bug.