mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-29 10:02:14 +00:00
Merge Object::m_rareData with Object::m_prototype
Object::m_rareData share space with Object::m_prototype - ObjectRareData inherits PointerValue Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
8349be1512
commit
a8754aac97
15 changed files with 89 additions and 43 deletions
|
|
@ -20,7 +20,6 @@ void* StringObject::operator new(size_t size)
|
|||
if (!typeInited) {
|
||||
GC_word obj_bitmap[GC_BITMAP_SIZE(StringObject)] = { 0 };
|
||||
GC_set_bit(obj_bitmap, GC_WORD_OFFSET(StringObject, m_structure));
|
||||
GC_set_bit(obj_bitmap, GC_WORD_OFFSET(StringObject, m_rareData));
|
||||
GC_set_bit(obj_bitmap, GC_WORD_OFFSET(StringObject, m_prototype));
|
||||
GC_set_bit(obj_bitmap, GC_WORD_OFFSET(StringObject, m_values));
|
||||
GC_set_bit(obj_bitmap, GC_WORD_OFFSET(StringObject, m_primitiveValue));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue