Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: src/heap/objects-visiting.cc

Issue 2627893002: Version 5.7.436.1 (cherry-pick) (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/heap/objects-visiting.h ('k') | src/heap/objects-visiting-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/heap/objects-visiting.h" 5 #include "src/heap/objects-visiting.h"
6 6
7 #include "src/heap/mark-compact-inl.h" 7 #include "src/heap/mark-compact-inl.h"
8 #include "src/heap/objects-visiting-inl.h" 8 #include "src/heap/objects-visiting-inl.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 23 matching lines...) Expand all
34 } else { 34 } else {
35 return kVisitConsString; 35 return kVisitConsString;
36 } 36 }
37 37
38 case kSlicedStringTag: 38 case kSlicedStringTag:
39 return kVisitSlicedString; 39 return kVisitSlicedString;
40 40
41 case kExternalStringTag: 41 case kExternalStringTag:
42 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric, 42 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric,
43 instance_size, has_unboxed_fields); 43 instance_size, has_unboxed_fields);
44
45 case kThinStringTag:
46 return kVisitThinString;
47 } 44 }
48 UNREACHABLE(); 45 UNREACHABLE();
49 } 46 }
50 47
51 switch (instance_type) { 48 switch (instance_type) {
52 case BYTE_ARRAY_TYPE: 49 case BYTE_ARRAY_TYPE:
53 return kVisitByteArray; 50 return kVisitByteArray;
54 51
55 case BYTECODE_ARRAY_TYPE: 52 case BYTECODE_ARRAY_TYPE:
56 return kVisitBytecodeArray; 53 return kVisitBytecodeArray;
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 }; 397 };
401 398
402 399
403 template Object* VisitWeakList<Context>(Heap* heap, Object* list, 400 template Object* VisitWeakList<Context>(Heap* heap, Object* list,
404 WeakObjectRetainer* retainer); 401 WeakObjectRetainer* retainer);
405 402
406 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, 403 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list,
407 WeakObjectRetainer* retainer); 404 WeakObjectRetainer* retainer);
408 } // namespace internal 405 } // namespace internal
409 } // namespace v8 406 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/objects-visiting.h ('k') | src/heap/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698