Andreas Kling
64513f3c23
LibJS: Move native objects towards two-pass construction
...
To make sure that everything is set up correctly in objects before we
start adding properties to them, we split cell allocation into 3 steps:
1. Allocate a cell of appropriate size from the Heap
2. Call the C++ constructor on the cell
3. Call initialize() on the constructed object
The job of initialize() is to define all the initial properties.
Doing it in a second pass guarantees that the Object has a valid Shape
and can find its own GlobalObject.
2020-06-20 15:46:30 +02:00
..
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:45:07 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-07 19:29:40 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-07 19:29:40 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-13 12:43:22 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-08 21:12:20 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:45:07 +02:00
2020-06-20 15:45:07 +02:00
2020-06-20 15:46:30 +02:00
2020-05-29 07:59:45 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-11 07:46:20 +02:00
2020-06-13 12:43:22 +02:00
2020-06-02 15:22:34 +02:00
2020-06-02 15:22:34 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-06 22:13:01 +02:00
2020-06-06 22:13:01 +02:00
2020-06-20 15:45:07 +02:00
2020-06-20 15:45:07 +02:00
2020-06-20 15:45:07 +02:00
2020-06-20 15:45:07 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:45:07 +02:00
2020-06-20 15:45:07 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-13 12:43:22 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-06 22:13:01 +02:00
2020-06-06 22:13:01 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-13 12:43:22 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-11 07:46:20 +02:00
2020-06-20 15:45:07 +02:00
2020-06-20 15:45:07 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-07 19:06:55 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:45:07 +02:00
2020-06-20 15:46:30 +02:00
2020-06-08 12:15:58 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:46:30 +02:00
2020-06-20 15:45:07 +02:00
2020-06-13 12:43:22 +02:00
2020-06-13 12:43:22 +02:00