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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 case JS_SET_TYPE: | 103 case JS_SET_TYPE: |
104 return GetVisitorIdForSize(kVisitStruct, | 104 return GetVisitorIdForSize(kVisitStruct, |
105 kVisitStructGeneric, | 105 kVisitStructGeneric, |
106 JSSet::kSize); | 106 JSSet::kSize); |
107 | 107 |
108 case JS_MAP_TYPE: | 108 case JS_MAP_TYPE: |
109 return GetVisitorIdForSize(kVisitStruct, | 109 return GetVisitorIdForSize(kVisitStruct, |
110 kVisitStructGeneric, | 110 kVisitStructGeneric, |
111 JSMap::kSize); | 111 JSMap::kSize); |
112 | 112 |
| 113 case JS_SET_ITERATOR_TYPE: |
| 114 return kVisitJSSetIterator; |
| 115 |
| 116 case JS_MAP_ITERATOR_TYPE: |
| 117 return kVisitJSMapIterator; |
| 118 |
113 case JS_WEAK_MAP_TYPE: | 119 case JS_WEAK_MAP_TYPE: |
114 return kVisitJSWeakMap; | 120 return kVisitJSWeakMap; |
115 | 121 |
116 case JS_WEAK_SET_TYPE: | 122 case JS_WEAK_SET_TYPE: |
117 return kVisitJSWeakSet; | 123 return kVisitJSWeakSet; |
118 | 124 |
119 case JS_REGEXP_TYPE: | 125 case JS_REGEXP_TYPE: |
120 return kVisitJSRegExp; | 126 return kVisitJSRegExp; |
121 | 127 |
122 case SHARED_FUNCTION_INFO_TYPE: | 128 case SHARED_FUNCTION_INFO_TYPE: |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 | 488 |
483 | 489 |
484 template Object* VisitWeakList<JSArrayBuffer>( | 490 template Object* VisitWeakList<JSArrayBuffer>( |
485 Heap* heap, Object* list, WeakObjectRetainer* retainer, bool record_slots); | 491 Heap* heap, Object* list, WeakObjectRetainer* retainer, bool record_slots); |
486 | 492 |
487 | 493 |
488 template Object* VisitWeakList<AllocationSite>( | 494 template Object* VisitWeakList<AllocationSite>( |
489 Heap* heap, Object* list, WeakObjectRetainer* retainer, bool record_slots); | 495 Heap* heap, Object* list, WeakObjectRetainer* retainer, bool record_slots); |
490 | 496 |
491 } } // namespace v8::internal | 497 } } // namespace v8::internal |
OLD | NEW |