| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/heap/objects-visiting.h" | 7 #include "src/heap/objects-visiting.h" |
| 8 #include "src/ic-inl.h" | |
| 9 | 8 |
| 10 namespace v8 { | 9 namespace v8 { |
| 11 namespace internal { | 10 namespace internal { |
| 12 | 11 |
| 13 | 12 |
| 14 StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId( | 13 StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId( |
| 15 int instance_type, int instance_size) { | 14 int instance_type, int instance_size) { |
| 16 if (instance_type < FIRST_NONSTRING_TYPE) { | 15 if (instance_type < FIRST_NONSTRING_TYPE) { |
| 17 switch (instance_type & kStringRepresentationMask) { | 16 switch (instance_type & kStringRepresentationMask) { |
| 18 case kSeqStringTag: | 17 case kSeqStringTag: |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 | 404 |
| 406 | 405 |
| 407 template Object* VisitWeakList<JSArrayBuffer>(Heap* heap, Object* list, | 406 template Object* VisitWeakList<JSArrayBuffer>(Heap* heap, Object* list, |
| 408 WeakObjectRetainer* retainer); | 407 WeakObjectRetainer* retainer); |
| 409 | 408 |
| 410 | 409 |
| 411 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, | 410 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, |
| 412 WeakObjectRetainer* retainer); | 411 WeakObjectRetainer* retainer); |
| 413 } | 412 } |
| 414 } // namespace v8::internal | 413 } // namespace v8::internal |
| OLD | NEW |