Wed, 03 Jul 2013 15:46:03 +0200
8019811: Static calls - self referential functions needed a return type conversion if they were specialized, as they can't use the same mechanism as indy calls
Reviewed-by: sundar, jlaskey
aoqi@0 | 1 | x instanceof f: true |
aoqi@0 | 2 | x instanceof b: true |
aoqi@0 | 3 | y instanceof f: true |
aoqi@0 | 4 | y instanceof b: true |
aoqi@0 | 5 | |
aoqi@0 | 6 | Changing prototype |
aoqi@0 | 7 | |
aoqi@0 | 8 | x instanceof f: false |
aoqi@0 | 9 | x instanceof b: false |
aoqi@0 | 10 | y instanceof f: false |
aoqi@0 | 11 | y instanceof b: false |
aoqi@0 | 12 | Bound function prototype |
aoqi@0 | 13 | |
aoqi@0 | 14 | f.hasOwnProperty('prototype'): true |
aoqi@0 | 15 | b.hasOwnProperty('prototype'): false |