| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1556 case JS_BUILTINS_OBJECT_TYPE: | 1556 case JS_BUILTINS_OBJECT_TYPE: |
| 1557 return JSBuiltinsObject::kSize; | 1557 return JSBuiltinsObject::kSize; |
| 1558 case JS_FUNCTION_TYPE: | 1558 case JS_FUNCTION_TYPE: |
| 1559 return JSFunction::kSize; | 1559 return JSFunction::kSize; |
| 1560 case JS_VALUE_TYPE: | 1560 case JS_VALUE_TYPE: |
| 1561 return JSValue::kSize; | 1561 return JSValue::kSize; |
| 1562 case JS_DATE_TYPE: | 1562 case JS_DATE_TYPE: |
| 1563 return JSDate::kSize; | 1563 return JSDate::kSize; |
| 1564 case JS_ARRAY_TYPE: | 1564 case JS_ARRAY_TYPE: |
| 1565 return JSArray::kSize; | 1565 return JSArray::kSize; |
| 1566 case JS_SET_TYPE: |
| 1567 return JSSet::kSize; |
| 1568 case JS_MAP_TYPE: |
| 1569 return JSMap::kSize; |
| 1566 case JS_WEAK_MAP_TYPE: | 1570 case JS_WEAK_MAP_TYPE: |
| 1567 return JSWeakMap::kSize; | 1571 return JSWeakMap::kSize; |
| 1568 case JS_REGEXP_TYPE: | 1572 case JS_REGEXP_TYPE: |
| 1569 return JSRegExp::kSize; | 1573 return JSRegExp::kSize; |
| 1570 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 1574 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
| 1571 return JSObject::kHeaderSize; | 1575 return JSObject::kHeaderSize; |
| 1572 case JS_MESSAGE_OBJECT_TYPE: | 1576 case JS_MESSAGE_OBJECT_TYPE: |
| 1573 return JSMessageObject::kSize; | 1577 return JSMessageObject::kSize; |
| 1574 default: | 1578 default: |
| 1575 UNREACHABLE(); | 1579 UNREACHABLE(); |
| (...skipping 4404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5980 #undef WRITE_UINT32_FIELD | 5984 #undef WRITE_UINT32_FIELD |
| 5981 #undef READ_SHORT_FIELD | 5985 #undef READ_SHORT_FIELD |
| 5982 #undef WRITE_SHORT_FIELD | 5986 #undef WRITE_SHORT_FIELD |
| 5983 #undef READ_BYTE_FIELD | 5987 #undef READ_BYTE_FIELD |
| 5984 #undef WRITE_BYTE_FIELD | 5988 #undef WRITE_BYTE_FIELD |
| 5985 | 5989 |
| 5986 | 5990 |
| 5987 } } // namespace v8::internal | 5991 } } // namespace v8::internal |
| 5988 | 5992 |
| 5989 #endif // V8_OBJECTS_INL_H_ | 5993 #endif // V8_OBJECTS_INL_H_ |
| OLD | NEW |