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 "allocation.h" | 8 #include "allocation.h" |
9 #include "assert-scope.h" | 9 #include "assert-scope.h" |
10 #include "builtins.h" | 10 #include "builtins.h" |
(...skipping 5866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5877 kPrototypeCheckGroup, | 5877 kPrototypeCheckGroup, |
5878 // Group of code that depends on elements not being added to objects with | 5878 // Group of code that depends on elements not being added to objects with |
5879 // this map. | 5879 // this map. |
5880 kElementsCantBeAddedGroup, | 5880 kElementsCantBeAddedGroup, |
5881 // Group of code that depends on global property values in property cells | 5881 // Group of code that depends on global property values in property cells |
5882 // not being changed. | 5882 // not being changed. |
5883 kPropertyCellChangedGroup, | 5883 kPropertyCellChangedGroup, |
5884 // Group of code that omit run-time type checks for the field(s) introduced | 5884 // Group of code that omit run-time type checks for the field(s) introduced |
5885 // by this map. | 5885 // by this map. |
5886 kFieldTypeGroup, | 5886 kFieldTypeGroup, |
| 5887 // Group of code that omit run-time type checks for initial maps of |
| 5888 // constructors. |
| 5889 kInitialMapChangedGroup, |
5887 // Group of code that depends on tenuring information in AllocationSites | 5890 // Group of code that depends on tenuring information in AllocationSites |
5888 // not being changed. | 5891 // not being changed. |
5889 kAllocationSiteTenuringChangedGroup, | 5892 kAllocationSiteTenuringChangedGroup, |
5890 // Group of code that depends on element transition information in | 5893 // Group of code that depends on element transition information in |
5891 // AllocationSites not being changed. | 5894 // AllocationSites not being changed. |
5892 kAllocationSiteTransitionChangedGroup, | 5895 kAllocationSiteTransitionChangedGroup, |
5893 kGroupCount = kAllocationSiteTransitionChangedGroup + 1 | 5896 kGroupCount = kAllocationSiteTransitionChangedGroup + 1 |
5894 }; | 5897 }; |
5895 | 5898 |
5896 // Array for holding the index of the first code object of each group. | 5899 // Array for holding the index of the first code object of each group. |
(...skipping 5225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11122 } else { | 11125 } else { |
11123 value &= ~(1 << bit_position); | 11126 value &= ~(1 << bit_position); |
11124 } | 11127 } |
11125 return value; | 11128 return value; |
11126 } | 11129 } |
11127 }; | 11130 }; |
11128 | 11131 |
11129 } } // namespace v8::internal | 11132 } } // namespace v8::internal |
11130 | 11133 |
11131 #endif // V8_OBJECTS_H_ | 11134 #endif // V8_OBJECTS_H_ |
OLD | NEW |