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

Side by Side Diff: src/compiler/types.cc

Issue 2578573002: Add unittests to keep InstanceType lists in sync (Closed)
Patch Set: fix merge artifacts Created 4 years 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/ast/ast-types.cc ('k') | src/objects.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 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/compiler/types.h" 7 #include "src/compiler/types.h"
8 8
9 #include "src/handles-inl.h" 9 #include "src/handles-inl.h"
10 #include "src/ostreams.h" 10 #include "src/ostreams.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 #define FIXED_TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \ 303 #define FIXED_TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \
304 case FIXED_##TYPE##_ARRAY_TYPE: 304 case FIXED_##TYPE##_ARRAY_TYPE:
305 305
306 TYPED_ARRAYS(FIXED_TYPED_ARRAY_CASE) 306 TYPED_ARRAYS(FIXED_TYPED_ARRAY_CASE)
307 #undef FIXED_TYPED_ARRAY_CASE 307 #undef FIXED_TYPED_ARRAY_CASE
308 case FILLER_TYPE: 308 case FILLER_TYPE:
309 case ACCESS_CHECK_INFO_TYPE: 309 case ACCESS_CHECK_INFO_TYPE:
310 case INTERCEPTOR_INFO_TYPE: 310 case INTERCEPTOR_INFO_TYPE:
311 case CALL_HANDLER_INFO_TYPE: 311 case CALL_HANDLER_INFO_TYPE:
312 case OBJECT_TEMPLATE_INFO_TYPE: 312 case OBJECT_TEMPLATE_INFO_TYPE:
313 case SIGNATURE_INFO_TYPE:
314 case TYPE_SWITCH_INFO_TYPE:
315 case ALLOCATION_MEMENTO_TYPE: 313 case ALLOCATION_MEMENTO_TYPE:
316 case TYPE_FEEDBACK_INFO_TYPE: 314 case TYPE_FEEDBACK_INFO_TYPE:
317 case ALIASED_ARGUMENTS_ENTRY_TYPE: 315 case ALIASED_ARGUMENTS_ENTRY_TYPE:
318 case BOX_TYPE: 316 case BOX_TYPE:
319 case PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE: 317 case PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE:
320 case PROMISE_REACTION_JOB_INFO_TYPE: 318 case PROMISE_REACTION_JOB_INFO_TYPE:
321 case DEBUG_INFO_TYPE: 319 case DEBUG_INFO_TYPE:
322 case BREAK_POINT_INFO_TYPE: 320 case BREAK_POINT_INFO_TYPE:
323 case CELL_TYPE: 321 case CELL_TYPE:
324 case WEAK_CELL_TYPE: 322 case WEAK_CELL_TYPE:
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; 1060 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32;
1063 } 1061 }
1064 1062
1065 BitsetType::bitset BitsetType::UnsignedSmall() { 1063 BitsetType::bitset BitsetType::UnsignedSmall() {
1066 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; 1064 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31;
1067 } 1065 }
1068 1066
1069 } // namespace compiler 1067 } // namespace compiler
1070 } // namespace internal 1068 } // namespace internal
1071 } // namespace v8 1069 } // namespace v8
OLDNEW
« no previous file with comments | « src/ast/ast-types.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698