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

Side by Side Diff: src/types.cc

Issue 1230753004: [Interpreter] Add BytecodeArray class and add to SharedFunctionInfo. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix pedantic build (take2). Created 5 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
« no previous file with comments | « src/objects-printer.cc ('k') | test/cctest/test-heap.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 <iomanip> 5 #include <iomanip>
6 6
7 #include "src/types.h" 7 #include "src/types.h"
8 8
9 #include "src/ostreams.h" 9 #include "src/ostreams.h"
10 #include "src/types-inl.h" 10 #include "src/types-inl.h"
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 // Also, it doesn't apply elsewhere. 8-( 269 // Also, it doesn't apply elsewhere. 8-(
270 // We ought to find a cleaner solution for compiling stubs parameterised 270 // We ought to find a cleaner solution for compiling stubs parameterised
271 // over type or class variables, esp ones with bounds... 271 // over type or class variables, esp ones with bounds...
272 return kDetectable & kTaggedPointer; 272 return kDetectable & kTaggedPointer;
273 case DECLARED_ACCESSOR_INFO_TYPE: 273 case DECLARED_ACCESSOR_INFO_TYPE:
274 case EXECUTABLE_ACCESSOR_INFO_TYPE: 274 case EXECUTABLE_ACCESSOR_INFO_TYPE:
275 case SHARED_FUNCTION_INFO_TYPE: 275 case SHARED_FUNCTION_INFO_TYPE:
276 case ACCESSOR_PAIR_TYPE: 276 case ACCESSOR_PAIR_TYPE:
277 case FIXED_ARRAY_TYPE: 277 case FIXED_ARRAY_TYPE:
278 case BYTE_ARRAY_TYPE: 278 case BYTE_ARRAY_TYPE:
279 case BYTECODE_ARRAY_TYPE:
279 case FOREIGN_TYPE: 280 case FOREIGN_TYPE:
280 case SCRIPT_TYPE: 281 case SCRIPT_TYPE:
281 case CODE_TYPE: 282 case CODE_TYPE:
282 case PROPERTY_CELL_TYPE: 283 case PROPERTY_CELL_TYPE:
283 return kInternal & kTaggedPointer; 284 return kInternal & kTaggedPointer;
284 default: 285 default:
285 UNREACHABLE(); 286 UNREACHABLE();
286 return kNone; 287 return kNone;
287 } 288 }
288 } 289 }
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after
1364 1365
1365 template TypeImpl<ZoneTypeConfig>::TypeHandle 1366 template TypeImpl<ZoneTypeConfig>::TypeHandle
1366 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( 1367 TypeImpl<ZoneTypeConfig>::Convert<HeapType>(
1367 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); 1368 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*);
1368 template TypeImpl<HeapTypeConfig>::TypeHandle 1369 template TypeImpl<HeapTypeConfig>::TypeHandle
1369 TypeImpl<HeapTypeConfig>::Convert<Type>( 1370 TypeImpl<HeapTypeConfig>::Convert<Type>(
1370 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); 1371 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*);
1371 1372
1372 } // namespace internal 1373 } // namespace internal
1373 } // namespace v8 1374 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | test/cctest/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698