Open Bug 956245 Opened 10 years ago Updated 2 years ago

Inline TypedObject Constructor

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: haitao.feng, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36

Steps to reproduce:

var a = TypedObject.float32(1.0);


Actual results:

The constructor is not inlined and a function call is emitted.


Expected results:

The TypedObject.float32 is inlined, and then I could use the same mechanism to inline TypedObject.float32x4 and TypedObject.int32x4.
Blocks: 904913
Component: General → JavaScript Engine
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.