OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1384 return JSGlobalProxy::kSize; | 1384 return JSGlobalProxy::kSize; |
1385 case JS_GLOBAL_OBJECT_TYPE: | 1385 case JS_GLOBAL_OBJECT_TYPE: |
1386 return JSGlobalObject::kSize; | 1386 return JSGlobalObject::kSize; |
1387 case JS_BUILTINS_OBJECT_TYPE: | 1387 case JS_BUILTINS_OBJECT_TYPE: |
1388 return JSBuiltinsObject::kSize; | 1388 return JSBuiltinsObject::kSize; |
1389 case JS_FUNCTION_TYPE: | 1389 case JS_FUNCTION_TYPE: |
1390 return JSFunction::kSize; | 1390 return JSFunction::kSize; |
1391 case JS_VALUE_TYPE: | 1391 case JS_VALUE_TYPE: |
1392 return JSValue::kSize; | 1392 return JSValue::kSize; |
1393 case JS_ARRAY_TYPE: | 1393 case JS_ARRAY_TYPE: |
1394 return JSValue::kSize; | 1394 return JSArray::kSize; |
1395 case JS_WEAK_MAP_TYPE: | 1395 case JS_WEAK_MAP_TYPE: |
1396 return JSWeakMap::kSize; | 1396 return JSWeakMap::kSize; |
1397 case JS_REGEXP_TYPE: | 1397 case JS_REGEXP_TYPE: |
1398 return JSValue::kSize; | 1398 return JSRegExp::kSize; |
1399 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: | 1399 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
1400 return JSObject::kHeaderSize; | 1400 return JSObject::kHeaderSize; |
1401 case JS_MESSAGE_OBJECT_TYPE: | 1401 case JS_MESSAGE_OBJECT_TYPE: |
1402 return JSMessageObject::kSize; | 1402 return JSMessageObject::kSize; |
1403 default: | 1403 default: |
1404 UNREACHABLE(); | 1404 UNREACHABLE(); |
1405 return 0; | 1405 return 0; |
1406 } | 1406 } |
1407 } | 1407 } |
1408 | 1408 |
(...skipping 3374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4783 #undef WRITE_INT_FIELD | 4783 #undef WRITE_INT_FIELD |
4784 #undef READ_SHORT_FIELD | 4784 #undef READ_SHORT_FIELD |
4785 #undef WRITE_SHORT_FIELD | 4785 #undef WRITE_SHORT_FIELD |
4786 #undef READ_BYTE_FIELD | 4786 #undef READ_BYTE_FIELD |
4787 #undef WRITE_BYTE_FIELD | 4787 #undef WRITE_BYTE_FIELD |
4788 | 4788 |
4789 | 4789 |
4790 } } // namespace v8::internal | 4790 } } // namespace v8::internal |
4791 | 4791 |
4792 #endif // V8_OBJECTS_INL_H_ | 4792 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |