Open Bug 956250 Opened 11 years ago Updated 2 years ago

Change the memory layout for built-in value types

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: In the engine, we need double indirection to access the value 1.0. Expected results: The value 1.0 is stored inside the object and consecutive with the object header so that we could easily boxing a register or stack slots in Ion (representing the value) when bailout happens.
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.