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

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

Issue 301553003: Make incremental marker post-process JSWeakCollection. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Hide some visitor functions. Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/objects-visiting.h ('k') | src/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 "v8.h" 5 #include "v8.h"
6 6
7 #include "ic-inl.h" 7 #include "ic-inl.h"
8 #include "objects-visiting.h" 8 #include "objects-visiting.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 return GetVisitorIdForSize(kVisitStruct, 81 return GetVisitorIdForSize(kVisitStruct,
82 kVisitStructGeneric, 82 kVisitStructGeneric,
83 JSSet::kSize); 83 JSSet::kSize);
84 84
85 case JS_MAP_TYPE: 85 case JS_MAP_TYPE:
86 return GetVisitorIdForSize(kVisitStruct, 86 return GetVisitorIdForSize(kVisitStruct,
87 kVisitStructGeneric, 87 kVisitStructGeneric,
88 JSMap::kSize); 88 JSMap::kSize);
89 89
90 case JS_WEAK_MAP_TYPE: 90 case JS_WEAK_MAP_TYPE:
91 return kVisitJSWeakMap;
92
93 case JS_WEAK_SET_TYPE: 91 case JS_WEAK_SET_TYPE:
94 return kVisitJSWeakSet; 92 return kVisitJSWeakCollection;
95 93
96 case JS_REGEXP_TYPE: 94 case JS_REGEXP_TYPE:
97 return kVisitJSRegExp; 95 return kVisitJSRegExp;
98 96
99 case SHARED_FUNCTION_INFO_TYPE: 97 case SHARED_FUNCTION_INFO_TYPE:
100 return kVisitSharedFunctionInfo; 98 return kVisitSharedFunctionInfo;
101 99
102 case JS_PROXY_TYPE: 100 case JS_PROXY_TYPE:
103 return GetVisitorIdForSize(kVisitStruct, 101 return GetVisitorIdForSize(kVisitStruct,
104 kVisitStructGeneric, 102 kVisitStructGeneric,
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 450
453 451
454 template Object* VisitWeakList<JSArrayBuffer>( 452 template Object* VisitWeakList<JSArrayBuffer>(
455 Heap* heap, Object* list, WeakObjectRetainer* retainer); 453 Heap* heap, Object* list, WeakObjectRetainer* retainer);
456 454
457 455
458 template Object* VisitWeakList<AllocationSite>( 456 template Object* VisitWeakList<AllocationSite>(
459 Heap* heap, Object* list, WeakObjectRetainer* retainer); 457 Heap* heap, Object* list, WeakObjectRetainer* retainer);
460 458
461 } } // namespace v8::internal 459 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-visiting.h ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698