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

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

Issue 1314953004: [interpreter] Add constant_pool() to BytecodeArray. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_args
Patch Set: Fix test flag. Created 5 years, 3 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/objects-visiting.h ('k') | src/heap/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 "src/heap/objects-visiting.h" 5 #include "src/heap/objects-visiting.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-inl.h" 8 #include "src/heap/objects-visiting-inl.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 break; 262 break;
263 case PROPERTY_CELL_TYPE: 263 case PROPERTY_CELL_TYPE:
264 PropertyCell::BodyDescriptor::IterateBody(this, v); 264 PropertyCell::BodyDescriptor::IterateBody(this, v);
265 break; 265 break;
266 case WEAK_CELL_TYPE: 266 case WEAK_CELL_TYPE:
267 WeakCell::BodyDescriptor::IterateBody(this, v); 267 WeakCell::BodyDescriptor::IterateBody(this, v);
268 break; 268 break;
269 case SYMBOL_TYPE: 269 case SYMBOL_TYPE:
270 Symbol::BodyDescriptor::IterateBody(this, v); 270 Symbol::BodyDescriptor::IterateBody(this, v);
271 break; 271 break;
272 case BYTECODE_ARRAY_TYPE:
273 reinterpret_cast<BytecodeArray*>(this)->BytecodeArrayIterateBody(v);
274 break;
272 275
273 case HEAP_NUMBER_TYPE: 276 case HEAP_NUMBER_TYPE:
274 case MUTABLE_HEAP_NUMBER_TYPE: 277 case MUTABLE_HEAP_NUMBER_TYPE:
275 case SIMD128_VALUE_TYPE: 278 case SIMD128_VALUE_TYPE:
276 case FILLER_TYPE: 279 case FILLER_TYPE:
277 case BYTE_ARRAY_TYPE: 280 case BYTE_ARRAY_TYPE:
278 case BYTECODE_ARRAY_TYPE:
279 case FREE_SPACE_TYPE: 281 case FREE_SPACE_TYPE:
280 break; 282 break;
281 283
282 #define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \ 284 #define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \
283 case FIXED_##TYPE##_ARRAY_TYPE: \ 285 case FIXED_##TYPE##_ARRAY_TYPE: \
284 reinterpret_cast<FixedTypedArrayBase*>(this) \ 286 reinterpret_cast<FixedTypedArrayBase*>(this) \
285 ->FixedTypedArrayBaseIterateBody(v); \ 287 ->FixedTypedArrayBaseIterateBody(v); \
286 break; 288 break;
287 TYPED_ARRAYS(TYPED_ARRAY_CASE) 289 TYPED_ARRAYS(TYPED_ARRAY_CASE)
288 #undef TYPED_ARRAY_CASE 290 #undef TYPED_ARRAY_CASE
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 }; 488 };
487 489
488 490
489 template Object* VisitWeakList<Context>(Heap* heap, Object* list, 491 template Object* VisitWeakList<Context>(Heap* heap, Object* list,
490 WeakObjectRetainer* retainer); 492 WeakObjectRetainer* retainer);
491 493
492 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list, 494 template Object* VisitWeakList<AllocationSite>(Heap* heap, Object* list,
493 WeakObjectRetainer* retainer); 495 WeakObjectRetainer* retainer);
494 } // namespace internal 496 } // namespace internal
495 } // namespace v8 497 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/objects-visiting.h ('k') | src/heap/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698