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

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

Issue 1153373003: Add new Float32x4 type for SIMD.js. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix int type mismatches. Created 5 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
« no previous file with comments | « src/heap/heap.cc ('k') | src/objects.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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/heap/objects-visiting.h" 7 #include "src/heap/objects-visiting.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 case JS_SET_ITERATOR_TYPE: 131 case JS_SET_ITERATOR_TYPE:
132 case JS_MAP_ITERATOR_TYPE: 132 case JS_MAP_ITERATOR_TYPE:
133 return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric, 133 return GetVisitorIdForSize(kVisitJSObject, kVisitJSObjectGeneric,
134 instance_size, has_unboxed_fields); 134 instance_size, has_unboxed_fields);
135 135
136 case JS_FUNCTION_TYPE: 136 case JS_FUNCTION_TYPE:
137 return kVisitJSFunction; 137 return kVisitJSFunction;
138 138
139 case HEAP_NUMBER_TYPE: 139 case HEAP_NUMBER_TYPE:
140 case MUTABLE_HEAP_NUMBER_TYPE: 140 case MUTABLE_HEAP_NUMBER_TYPE:
141 case FLOAT32X4_TYPE:
141 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \ 142 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \
142 case EXTERNAL_##TYPE##_ARRAY_TYPE: 143 case EXTERNAL_##TYPE##_ARRAY_TYPE:
143 144
144 TYPED_ARRAYS(EXTERNAL_ARRAY_CASE) 145 TYPED_ARRAYS(EXTERNAL_ARRAY_CASE)
145 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric, 146 return GetVisitorIdForSize(kVisitDataObject, kVisitDataObjectGeneric,
146 instance_size, has_unboxed_fields); 147 instance_size, has_unboxed_fields);
147 #undef EXTERNAL_ARRAY_CASE 148 #undef EXTERNAL_ARRAY_CASE
148 149
149 case FIXED_UINT8_ARRAY_TYPE: 150 case FIXED_UINT8_ARRAY_TYPE:
150 case FIXED_INT8_ARRAY_TYPE: 151 case FIXED_INT8_ARRAY_TYPE:
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 }; 356 };
356 357
357 358
358 template Object* VisitWeakList<Context>(Heap* heap, Object* list, 359 template Object* VisitWeakList<Context>(Heap* heap, Object* list,
359 WeakObjectRetainer* retainer); 360 WeakObjectRetainer* retainer);
360 361
361 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, 362 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list,
362 WeakObjectRetainer* retainer); 363 WeakObjectRetainer* retainer);
363 } // namespace internal 364 } // namespace internal
364 } // namespace v8 365 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/heap.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698