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

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

Issue 1273353003: [simd.js] Single SIMD128_VALUE_TYPE for all Simd128Values. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix slow check failures. REBASE. Created 5 years, 4 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/heap.cc ('k') | src/hydrogen.cc » ('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/v8.h" 5 #include "src/v8.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.h" 8 #include "src/heap/objects-visiting.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 case JS_SET_ITERATOR_TYPE: 132 case JS_SET_ITERATOR_TYPE:
133 case JS_MAP_ITERATOR_TYPE: 133 case JS_MAP_ITERATOR_TYPE:
134 return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric, 134 return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric,
135 instance_size, has_unboxed_fields); 135 instance_size, has_unboxed_fields);
136 136
137 case JS_FUNCTION_TYPE: 137 case JS_FUNCTION_TYPE:
138 return kVisitJSFunction; 138 return kVisitJSFunction;
139 139
140 case HEAP_NUMBER_TYPE: 140 case HEAP_NUMBER_TYPE:
141 case MUTABLE_HEAP_NUMBER_TYPE: 141 case MUTABLE_HEAP_NUMBER_TYPE:
142 case FLOAT32X4_TYPE: 142 case SIMD128_VALUE_TYPE:
143 case INT32X4_TYPE:
144 case BOOL32X4_TYPE:
145 case INT16X8_TYPE:
146 case BOOL16X8_TYPE:
147 case INT8X16_TYPE:
148 case BOOL8X16_TYPE:
149 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric, 143 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric,
150 instance_size, has_unboxed_fields); 144 instance_size, has_unboxed_fields);
151 145
152 case FIXED_UINT8_ARRAY_TYPE: 146 case FIXED_UINT8_ARRAY_TYPE:
153 case FIXED_INT8_ARRAY_TYPE: 147 case FIXED_INT8_ARRAY_TYPE:
154 case FIXED_UINT16_ARRAY_TYPE: 148 case FIXED_UINT16_ARRAY_TYPE:
155 case FIXED_INT16_ARRAY_TYPE: 149 case FIXED_INT16_ARRAY_TYPE:
156 case FIXED_UINT32_ARRAY_TYPE: 150 case FIXED_UINT32_ARRAY_TYPE:
157 case FIXED_INT32_ARRAY_TYPE: 151 case FIXED_INT32_ARRAY_TYPE:
158 case FIXED_FLOAT32_ARRAY_TYPE: 152 case FIXED_FLOAT32_ARRAY_TYPE:
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 }; 351 };
358 352
359 353
360 template Object* VisitWeakList<Context>(Heap* heap, Object* list, 354 template Object* VisitWeakList<Context>(Heap* heap, Object* list,
361 WeakObjectRetainer* retainer); 355 WeakObjectRetainer* retainer);
362 356
363 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, 357 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list,
364 WeakObjectRetainer* retainer); 358 WeakObjectRetainer* retainer);
365 } // namespace internal 359 } // namespace internal
366 } // namespace v8 360 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/heap.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698