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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 case ODDBALL_TYPE: | 85 case ODDBALL_TYPE: |
86 return kVisitOddball; | 86 return kVisitOddball; |
87 | 87 |
88 case MAP_TYPE: | 88 case MAP_TYPE: |
89 return kVisitMap; | 89 return kVisitMap; |
90 | 90 |
91 case CODE_TYPE: | 91 case CODE_TYPE: |
92 return kVisitCode; | 92 return kVisitCode; |
93 | 93 |
94 case JS_GLOBAL_PROPERTY_CELL_TYPE: | 94 case CELL_TYPE: |
| 95 return kVisitCell; |
| 96 |
| 97 case PROPERTY_CELL_TYPE: |
95 return kVisitPropertyCell; | 98 return kVisitPropertyCell; |
96 | 99 |
97 case JS_SET_TYPE: | 100 case JS_SET_TYPE: |
98 return GetVisitorIdForSize(kVisitStruct, | 101 return GetVisitorIdForSize(kVisitStruct, |
99 kVisitStructGeneric, | 102 kVisitStructGeneric, |
100 JSSet::kSize); | 103 JSSet::kSize); |
101 | 104 |
102 case JS_MAP_TYPE: | 105 case JS_MAP_TYPE: |
103 return GetVisitorIdForSize(kVisitStruct, | 106 return GetVisitorIdForSize(kVisitStruct, |
104 kVisitStructGeneric, | 107 kVisitStructGeneric, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 kVisitStructGeneric, | 183 kVisitStructGeneric, |
181 instance_size); | 184 instance_size); |
182 | 185 |
183 default: | 186 default: |
184 UNREACHABLE(); | 187 UNREACHABLE(); |
185 return kVisitorIdCount; | 188 return kVisitorIdCount; |
186 } | 189 } |
187 } | 190 } |
188 | 191 |
189 } } // namespace v8::internal | 192 } } // namespace v8::internal |
OLD | NEW |