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 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 EXTERNAL_BYTE_ARRAY_TYPE, // FIRST_EXTERNAL_ARRAY_TYPE | 714 EXTERNAL_BYTE_ARRAY_TYPE, // FIRST_EXTERNAL_ARRAY_TYPE |
715 EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE, | 715 EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE, |
716 EXTERNAL_SHORT_ARRAY_TYPE, | 716 EXTERNAL_SHORT_ARRAY_TYPE, |
717 EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE, | 717 EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE, |
718 EXTERNAL_INT_ARRAY_TYPE, | 718 EXTERNAL_INT_ARRAY_TYPE, |
719 EXTERNAL_UNSIGNED_INT_ARRAY_TYPE, | 719 EXTERNAL_UNSIGNED_INT_ARRAY_TYPE, |
720 EXTERNAL_FLOAT_ARRAY_TYPE, | 720 EXTERNAL_FLOAT_ARRAY_TYPE, |
721 EXTERNAL_DOUBLE_ARRAY_TYPE, | 721 EXTERNAL_DOUBLE_ARRAY_TYPE, |
722 EXTERNAL_PIXEL_ARRAY_TYPE, // LAST_EXTERNAL_ARRAY_TYPE | 722 EXTERNAL_PIXEL_ARRAY_TYPE, // LAST_EXTERNAL_ARRAY_TYPE |
723 FIXED_DOUBLE_ARRAY_TYPE, | 723 FIXED_DOUBLE_ARRAY_TYPE, |
724 CONSTANT_POOL_ARRAY_TYPE, | |
725 FILLER_TYPE, // LAST_DATA_TYPE | 724 FILLER_TYPE, // LAST_DATA_TYPE |
726 | 725 |
727 // Structs. | 726 // Structs. |
728 DECLARED_ACCESSOR_DESCRIPTOR_TYPE, | 727 DECLARED_ACCESSOR_DESCRIPTOR_TYPE, |
729 DECLARED_ACCESSOR_INFO_TYPE, | 728 DECLARED_ACCESSOR_INFO_TYPE, |
730 EXECUTABLE_ACCESSOR_INFO_TYPE, | 729 EXECUTABLE_ACCESSOR_INFO_TYPE, |
731 ACCESSOR_PAIR_TYPE, | 730 ACCESSOR_PAIR_TYPE, |
732 ACCESS_CHECK_INFO_TYPE, | 731 ACCESS_CHECK_INFO_TYPE, |
733 INTERCEPTOR_INFO_TYPE, | 732 INTERCEPTOR_INFO_TYPE, |
734 CALL_HANDLER_INFO_TYPE, | 733 CALL_HANDLER_INFO_TYPE, |
(...skipping 10 matching lines...) Expand all Loading... |
745 ALIASED_ARGUMENTS_ENTRY_TYPE, | 744 ALIASED_ARGUMENTS_ENTRY_TYPE, |
746 BOX_TYPE, | 745 BOX_TYPE, |
747 // The following two instance types are only used when ENABLE_DEBUGGER_SUPPORT | 746 // The following two instance types are only used when ENABLE_DEBUGGER_SUPPORT |
748 // is defined. However as include/v8.h contain some of the instance type | 747 // is defined. However as include/v8.h contain some of the instance type |
749 // constants always having them avoids them getting different numbers | 748 // constants always having them avoids them getting different numbers |
750 // depending on whether ENABLE_DEBUGGER_SUPPORT is defined or not. | 749 // depending on whether ENABLE_DEBUGGER_SUPPORT is defined or not. |
751 DEBUG_INFO_TYPE, | 750 DEBUG_INFO_TYPE, |
752 BREAK_POINT_INFO_TYPE, | 751 BREAK_POINT_INFO_TYPE, |
753 | 752 |
754 FIXED_ARRAY_TYPE, | 753 FIXED_ARRAY_TYPE, |
| 754 CONSTANT_POOL_ARRAY_TYPE, |
755 SHARED_FUNCTION_INFO_TYPE, | 755 SHARED_FUNCTION_INFO_TYPE, |
756 | 756 |
757 JS_MESSAGE_OBJECT_TYPE, | 757 JS_MESSAGE_OBJECT_TYPE, |
758 | 758 |
759 // All the following types are subtypes of JSReceiver, which corresponds to | 759 // All the following types are subtypes of JSReceiver, which corresponds to |
760 // objects in the JS sense. The first and the last type in this range are | 760 // objects in the JS sense. The first and the last type in this range are |
761 // the two forms of function. This organization enables using the same | 761 // the two forms of function. This organization enables using the same |
762 // compares for checking the JS_RECEIVER/SPEC_OBJECT range and the | 762 // compares for checking the JS_RECEIVER/SPEC_OBJECT range and the |
763 // NONCALLABLE_JS_OBJECT range. | 763 // NONCALLABLE_JS_OBJECT range. |
764 JS_FUNCTION_PROXY_TYPE, // FIRST_JS_RECEIVER_TYPE, FIRST_JS_PROXY_TYPE | 764 JS_FUNCTION_PROXY_TYPE, // FIRST_JS_RECEIVER_TYPE, FIRST_JS_PROXY_TYPE |
(...skipping 9862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10627 } else { | 10627 } else { |
10628 value &= ~(1 << bit_position); | 10628 value &= ~(1 << bit_position); |
10629 } | 10629 } |
10630 return value; | 10630 return value; |
10631 } | 10631 } |
10632 }; | 10632 }; |
10633 | 10633 |
10634 } } // namespace v8::internal | 10634 } } // namespace v8::internal |
10635 | 10635 |
10636 #endif // V8_OBJECTS_H_ | 10636 #endif // V8_OBJECTS_H_ |
OLD | NEW |