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

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

Issue 355793003: Replace HeapNumber as doublebox with an explicit MutableHeapNumber. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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-printer.cc ('k') | src/runtime.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/ic-inl.h" 7 #include "src/ic-inl.h"
8 #include "src/objects-visiting.h" 8 #include "src/objects-visiting.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 case JS_SET_ITERATOR_TYPE: 141 case JS_SET_ITERATOR_TYPE:
142 case JS_MAP_ITERATOR_TYPE: 142 case JS_MAP_ITERATOR_TYPE:
143 return GetVisitorIdForSize(kVisitJSObject, 143 return GetVisitorIdForSize(kVisitJSObject,
144 kVisitJSObjectGeneric, 144 kVisitJSObjectGeneric,
145 instance_size); 145 instance_size);
146 146
147 case JS_FUNCTION_TYPE: 147 case JS_FUNCTION_TYPE:
148 return kVisitJSFunction; 148 return kVisitJSFunction;
149 149
150 case HEAP_NUMBER_TYPE: 150 case HEAP_NUMBER_TYPE:
151 case MUTABLE_HEAP_NUMBER_TYPE:
151 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \ 152 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \
152 case EXTERNAL_##TYPE##_ARRAY_TYPE: 153 case EXTERNAL_##TYPE##_ARRAY_TYPE:
153 154
154 TYPED_ARRAYS(EXTERNAL_ARRAY_CASE) 155 TYPED_ARRAYS(EXTERNAL_ARRAY_CASE)
155 return GetVisitorIdForSize(kVisitDataObject, 156 return GetVisitorIdForSize(kVisitDataObject,
156 kVisitDataObjectGeneric, 157 kVisitDataObjectGeneric,
157 instance_size); 158 instance_size);
158 #undef EXTERNAL_ARRAY_CASE 159 #undef EXTERNAL_ARRAY_CASE
159 160
160 case FIXED_UINT8_ARRAY_TYPE: 161 case FIXED_UINT8_ARRAY_TYPE:
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 451
451 452
452 template Object* VisitWeakList<JSArrayBuffer>( 453 template Object* VisitWeakList<JSArrayBuffer>(
453 Heap* heap, Object* list, WeakObjectRetainer* retainer); 454 Heap* heap, Object* list, WeakObjectRetainer* retainer);
454 455
455 456
456 template Object* VisitWeakList<AllocationSite>( 457 template Object* VisitWeakList<AllocationSite>(
457 Heap* heap, Object* list, WeakObjectRetainer* retainer); 458 Heap* heap, Object* list, WeakObjectRetainer* retainer);
458 459
459 } } // namespace v8::internal 460 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698