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

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: Don't use extra memory for BytecodeArray in SharedFunctionInfo and add a BytecodeArray test. 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
OLDNEW
1
ulan 2015/07/22 08:11:58 Delete empty line.
oth 2015/07/22 08:50:00 Done.
1 // Copyright 2014 the V8 project authors. All rights reserved. 2 // 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 3 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 4 // found in the LICENSE file.
4 5
5 #include <iomanip> 6 #include <iomanip>
6 7
7 #include "src/types.h" 8 #include "src/types.h"
8 9
9 #include "src/ostreams.h" 10 #include "src/ostreams.h"
10 #include "src/types-inl.h" 11 #include "src/types-inl.h"
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 // Also, it doesn't apply elsewhere. 8-( 267 // Also, it doesn't apply elsewhere. 8-(
267 // We ought to find a cleaner solution for compiling stubs parameterised 268 // We ought to find a cleaner solution for compiling stubs parameterised
268 // over type or class variables, esp ones with bounds... 269 // over type or class variables, esp ones with bounds...
269 return kDetectable & kTaggedPointer; 270 return kDetectable & kTaggedPointer;
270 case DECLARED_ACCESSOR_INFO_TYPE: 271 case DECLARED_ACCESSOR_INFO_TYPE:
271 case EXECUTABLE_ACCESSOR_INFO_TYPE: 272 case EXECUTABLE_ACCESSOR_INFO_TYPE:
272 case SHARED_FUNCTION_INFO_TYPE: 273 case SHARED_FUNCTION_INFO_TYPE:
273 case ACCESSOR_PAIR_TYPE: 274 case ACCESSOR_PAIR_TYPE:
274 case FIXED_ARRAY_TYPE: 275 case FIXED_ARRAY_TYPE:
275 case BYTE_ARRAY_TYPE: 276 case BYTE_ARRAY_TYPE:
277 case BYTECODE_ARRAY_TYPE:
276 case FOREIGN_TYPE: 278 case FOREIGN_TYPE:
277 case SCRIPT_TYPE: 279 case SCRIPT_TYPE:
278 case CODE_TYPE: 280 case CODE_TYPE:
279 case PROPERTY_CELL_TYPE: 281 case PROPERTY_CELL_TYPE:
280 return kInternal & kTaggedPointer; 282 return kInternal & kTaggedPointer;
281 default: 283 default:
282 UNREACHABLE(); 284 UNREACHABLE();
283 return kNone; 285 return kNone;
284 } 286 }
285 } 287 }
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after
1361 1363
1362 template TypeImpl<ZoneTypeConfig>::TypeHandle 1364 template TypeImpl<ZoneTypeConfig>::TypeHandle
1363 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( 1365 TypeImpl<ZoneTypeConfig>::Convert<HeapType>(
1364 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); 1366 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*);
1365 template TypeImpl<HeapTypeConfig>::TypeHandle 1367 template TypeImpl<HeapTypeConfig>::TypeHandle
1366 TypeImpl<HeapTypeConfig>::Convert<Type>( 1368 TypeImpl<HeapTypeConfig>::Convert<Type>(
1367 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); 1369 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*);
1368 1370
1369 } // namespace internal 1371 } // namespace internal
1370 } // namespace v8 1372 } // namespace v8
OLDNEW
« src/objects-debug.cc ('K') | « 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