OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 kVisitDataObjectGeneric, | 63 kVisitDataObjectGeneric, |
64 ExternalString::kSize); | 64 ExternalString::kSize); |
65 } | 65 } |
66 UNREACHABLE(); | 66 UNREACHABLE(); |
67 } | 67 } |
68 | 68 |
69 switch (instance_type) { | 69 switch (instance_type) { |
70 case BYTE_ARRAY_TYPE: | 70 case BYTE_ARRAY_TYPE: |
71 return kVisitByteArray; | 71 return kVisitByteArray; |
72 | 72 |
| 73 case FREE_SPACE_TYPE: |
| 74 return kVisitFreeSpace; |
| 75 |
73 case FIXED_ARRAY_TYPE: | 76 case FIXED_ARRAY_TYPE: |
74 return kVisitFixedArray; | 77 return kVisitFixedArray; |
75 | 78 |
76 case ODDBALL_TYPE: | 79 case ODDBALL_TYPE: |
77 return kVisitOddball; | 80 return kVisitOddball; |
78 | 81 |
79 case MAP_TYPE: | 82 case MAP_TYPE: |
80 return kVisitMap; | 83 return kVisitMap; |
81 | 84 |
82 case CODE_TYPE: | 85 case CODE_TYPE: |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 kVisitStructGeneric, | 136 kVisitStructGeneric, |
134 instance_size); | 137 instance_size); |
135 | 138 |
136 default: | 139 default: |
137 UNREACHABLE(); | 140 UNREACHABLE(); |
138 return kVisitorIdCount; | 141 return kVisitorIdCount; |
139 } | 142 } |
140 } | 143 } |
141 | 144 |
142 } } // namespace v8::internal | 145 } } // namespace v8::internal |
OLD | NEW |