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

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

Issue 360023003: Revert "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:
152 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \ 151 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \
153 case EXTERNAL_##TYPE##_ARRAY_TYPE: 152 case EXTERNAL_##TYPE##_ARRAY_TYPE:
154 153
155 TYPED_ARRAYS(EXTERNAL_ARRAY_CASE) 154 TYPED_ARRAYS(EXTERNAL_ARRAY_CASE)
156 return GetVisitorIdForSize(kVisitDataObject, 155 return GetVisitorIdForSize(kVisitDataObject,
157 kVisitDataObjectGeneric, 156 kVisitDataObjectGeneric,
158 instance_size); 157 instance_size);
159 #undef EXTERNAL_ARRAY_CASE 158 #undef EXTERNAL_ARRAY_CASE
160 159
161 case FIXED_UINT8_ARRAY_TYPE: 160 case FIXED_UINT8_ARRAY_TYPE:
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 450
452 451
453 template Object* VisitWeakList<JSArrayBuffer>( 452 template Object* VisitWeakList<JSArrayBuffer>(
454 Heap* heap, Object* list, WeakObjectRetainer* retainer); 453 Heap* heap, Object* list, WeakObjectRetainer* retainer);
455 454
456 455
457 template Object* VisitWeakList<AllocationSite>( 456 template Object* VisitWeakList<AllocationSite>(
458 Heap* heap, Object* list, WeakObjectRetainer* retainer); 457 Heap* heap, Object* list, WeakObjectRetainer* retainer);
459 458
460 } } // namespace v8::internal 459 } } // 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