| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 V(JS_TYPED_ARRAY_TYPE) \ | 427 V(JS_TYPED_ARRAY_TYPE) \ |
| 428 V(JS_DATA_VIEW_TYPE) \ | 428 V(JS_DATA_VIEW_TYPE) \ |
| 429 V(JS_PROXY_TYPE) \ | 429 V(JS_PROXY_TYPE) \ |
| 430 V(JS_SET_TYPE) \ | 430 V(JS_SET_TYPE) \ |
| 431 V(JS_MAP_TYPE) \ | 431 V(JS_MAP_TYPE) \ |
| 432 V(JS_SET_ITERATOR_TYPE) \ | 432 V(JS_SET_ITERATOR_TYPE) \ |
| 433 V(JS_MAP_ITERATOR_TYPE) \ | 433 V(JS_MAP_ITERATOR_TYPE) \ |
| 434 V(JS_ITERATOR_RESULT_TYPE) \ | 434 V(JS_ITERATOR_RESULT_TYPE) \ |
| 435 V(JS_WEAK_MAP_TYPE) \ | 435 V(JS_WEAK_MAP_TYPE) \ |
| 436 V(JS_WEAK_SET_TYPE) \ | 436 V(JS_WEAK_SET_TYPE) \ |
| 437 V(JS_PROMISE_TYPE) \ |
| 437 V(JS_REGEXP_TYPE) \ | 438 V(JS_REGEXP_TYPE) \ |
| 438 \ | 439 \ |
| 439 V(JS_FUNCTION_TYPE) \ | 440 V(JS_FUNCTION_TYPE) \ |
| 440 V(JS_FUNCTION_PROXY_TYPE) \ | 441 V(JS_FUNCTION_PROXY_TYPE) \ |
| 441 V(DEBUG_INFO_TYPE) \ | 442 V(DEBUG_INFO_TYPE) \ |
| 442 V(BREAK_POINT_INFO_TYPE) | 443 V(BREAK_POINT_INFO_TYPE) |
| 443 | 444 |
| 444 | 445 |
| 445 // Since string types are not consecutive, this macro is used to | 446 // Since string types are not consecutive, this macro is used to |
| 446 // iterate over them. | 447 // iterate over them. |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 725 JS_ARRAY_BUFFER_TYPE, | 726 JS_ARRAY_BUFFER_TYPE, |
| 726 JS_TYPED_ARRAY_TYPE, | 727 JS_TYPED_ARRAY_TYPE, |
| 727 JS_DATA_VIEW_TYPE, | 728 JS_DATA_VIEW_TYPE, |
| 728 JS_SET_TYPE, | 729 JS_SET_TYPE, |
| 729 JS_MAP_TYPE, | 730 JS_MAP_TYPE, |
| 730 JS_SET_ITERATOR_TYPE, | 731 JS_SET_ITERATOR_TYPE, |
| 731 JS_MAP_ITERATOR_TYPE, | 732 JS_MAP_ITERATOR_TYPE, |
| 732 JS_ITERATOR_RESULT_TYPE, | 733 JS_ITERATOR_RESULT_TYPE, |
| 733 JS_WEAK_MAP_TYPE, | 734 JS_WEAK_MAP_TYPE, |
| 734 JS_WEAK_SET_TYPE, | 735 JS_WEAK_SET_TYPE, |
| 736 JS_PROMISE_TYPE, |
| 735 JS_REGEXP_TYPE, | 737 JS_REGEXP_TYPE, |
| 736 JS_FUNCTION_TYPE, // LAST_JS_OBJECT_TYPE, LAST_JS_RECEIVER_TYPE | 738 JS_FUNCTION_TYPE, // LAST_JS_OBJECT_TYPE, LAST_JS_RECEIVER_TYPE |
| 737 | 739 |
| 738 // Pseudo-types | 740 // Pseudo-types |
| 739 FIRST_TYPE = 0x0, | 741 FIRST_TYPE = 0x0, |
| 740 LAST_TYPE = JS_FUNCTION_TYPE, | 742 LAST_TYPE = JS_FUNCTION_TYPE, |
| 741 FIRST_NAME_TYPE = FIRST_TYPE, | 743 FIRST_NAME_TYPE = FIRST_TYPE, |
| 742 LAST_NAME_TYPE = SYMBOL_TYPE, | 744 LAST_NAME_TYPE = SYMBOL_TYPE, |
| 743 FIRST_UNIQUE_NAME_TYPE = INTERNALIZED_STRING_TYPE, | 745 FIRST_UNIQUE_NAME_TYPE = INTERNALIZED_STRING_TYPE, |
| 744 LAST_UNIQUE_NAME_TYPE = SYMBOL_TYPE, | 746 LAST_UNIQUE_NAME_TYPE = SYMBOL_TYPE, |
| (...skipping 9961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10706 } | 10708 } |
| 10707 return value; | 10709 return value; |
| 10708 } | 10710 } |
| 10709 }; | 10711 }; |
| 10710 | 10712 |
| 10711 | 10713 |
| 10712 } // NOLINT, false-positive due to second-order macros. | 10714 } // NOLINT, false-positive due to second-order macros. |
| 10713 } // NOLINT, false-positive due to second-order macros. | 10715 } // NOLINT, false-positive due to second-order macros. |
| 10714 | 10716 |
| 10715 #endif // V8_OBJECTS_H_ | 10717 #endif // V8_OBJECTS_H_ |
| OLD | NEW |