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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 kVisitDataObjectGeneric, | 66 kVisitDataObjectGeneric, |
67 ExternalString::kSize); | 67 ExternalString::kSize); |
68 } | 68 } |
69 UNREACHABLE(); | 69 UNREACHABLE(); |
70 } | 70 } |
71 | 71 |
72 switch (instance_type) { | 72 switch (instance_type) { |
73 case BYTE_ARRAY_TYPE: | 73 case BYTE_ARRAY_TYPE: |
74 return kVisitByteArray; | 74 return kVisitByteArray; |
75 | 75 |
| 76 case FREE_SPACE_TYPE: |
| 77 return kVisitFreeSpace; |
| 78 |
76 case FIXED_ARRAY_TYPE: | 79 case FIXED_ARRAY_TYPE: |
77 return kVisitFixedArray; | 80 return kVisitFixedArray; |
78 | 81 |
79 case FIXED_DOUBLE_ARRAY_TYPE: | 82 case FIXED_DOUBLE_ARRAY_TYPE: |
80 return kVisitFixedDoubleArray; | 83 return kVisitFixedDoubleArray; |
81 | 84 |
82 case ODDBALL_TYPE: | 85 case ODDBALL_TYPE: |
83 return kVisitOddball; | 86 return kVisitOddball; |
84 | 87 |
85 case MAP_TYPE: | 88 case MAP_TYPE: |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 kVisitStructGeneric, | 158 kVisitStructGeneric, |
156 instance_size); | 159 instance_size); |
157 | 160 |
158 default: | 161 default: |
159 UNREACHABLE(); | 162 UNREACHABLE(); |
160 return kVisitorIdCount; | 163 return kVisitorIdCount; |
161 } | 164 } |
162 } | 165 } |
163 | 166 |
164 } } // namespace v8::internal | 167 } } // namespace v8::internal |
OLD | NEW |