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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 case FREE_SPACE_TYPE: | 76 case FREE_SPACE_TYPE: |
77 return kVisitFreeSpace; | 77 return kVisitFreeSpace; |
78 | 78 |
79 case FIXED_ARRAY_TYPE: | 79 case FIXED_ARRAY_TYPE: |
80 return kVisitFixedArray; | 80 return kVisitFixedArray; |
81 | 81 |
82 case FIXED_DOUBLE_ARRAY_TYPE: | 82 case FIXED_DOUBLE_ARRAY_TYPE: |
83 return kVisitFixedDoubleArray; | 83 return kVisitFixedDoubleArray; |
84 | 84 |
| 85 case CONSTANT_POOL_ARRAY_TYPE: |
| 86 return kVisitConstantPoolArray; |
| 87 |
85 case ODDBALL_TYPE: | 88 case ODDBALL_TYPE: |
86 return kVisitOddball; | 89 return kVisitOddball; |
87 | 90 |
88 case MAP_TYPE: | 91 case MAP_TYPE: |
89 return kVisitMap; | 92 return kVisitMap; |
90 | 93 |
91 case CODE_TYPE: | 94 case CODE_TYPE: |
92 return kVisitCode; | 95 return kVisitCode; |
93 | 96 |
94 case CELL_TYPE: | 97 case CELL_TYPE: |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 kVisitStructGeneric, | 196 kVisitStructGeneric, |
194 instance_size); | 197 instance_size); |
195 | 198 |
196 default: | 199 default: |
197 UNREACHABLE(); | 200 UNREACHABLE(); |
198 return kVisitorIdCount; | 201 return kVisitorIdCount; |
199 } | 202 } |
200 } | 203 } |
201 | 204 |
202 } } // namespace v8::internal | 205 } } // namespace v8::internal |
OLD | NEW |