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

Side by Side Diff: src/ast/ast-types.cc

Issue 2581683003: Introduce {ConstantElementsPair} struct for type safety. (Closed)
Patch Set: Re-cemment bytecode tests. 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
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/ast/ast-types.h" 7 #include "src/ast/ast-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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 case ALIASED_ARGUMENTS_ENTRY_TYPE: 311 case ALIASED_ARGUMENTS_ENTRY_TYPE:
312 case BOX_TYPE: 312 case BOX_TYPE:
313 case DEBUG_INFO_TYPE: 313 case DEBUG_INFO_TYPE:
314 case BREAK_POINT_INFO_TYPE: 314 case BREAK_POINT_INFO_TYPE:
315 case CELL_TYPE: 315 case CELL_TYPE:
316 case WEAK_CELL_TYPE: 316 case WEAK_CELL_TYPE:
317 case PROTOTYPE_INFO_TYPE: 317 case PROTOTYPE_INFO_TYPE:
318 case TUPLE2_TYPE: 318 case TUPLE2_TYPE:
319 case TUPLE3_TYPE: 319 case TUPLE3_TYPE:
320 case CONTEXT_EXTENSION_TYPE: 320 case CONTEXT_EXTENSION_TYPE:
321 case CONSTANT_ELEMENTS_PAIR_TYPE:
321 UNREACHABLE(); 322 UNREACHABLE();
322 return kNone; 323 return kNone;
323 } 324 }
324 UNREACHABLE(); 325 UNREACHABLE();
325 return kNone; 326 return kNone;
326 } 327 }
327 328
328 AstType::bitset AstBitsetType::Lub(i::Object* value) { 329 AstType::bitset AstBitsetType::Lub(i::Object* value) {
329 DisallowHeapAllocation no_allocation; 330 DisallowHeapAllocation no_allocation;
330 if (value->IsNumber()) { 331 if (value->IsNumber()) {
(...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 #undef CONSTRUCT_SIMD_TYPE 1305 #undef CONSTRUCT_SIMD_TYPE
1305 1306
1306 // ----------------------------------------------------------------------------- 1307 // -----------------------------------------------------------------------------
1307 // Instantiations. 1308 // Instantiations.
1308 1309
1309 template class AstType::Iterator<i::Map>; 1310 template class AstType::Iterator<i::Map>;
1310 template class AstType::Iterator<i::Object>; 1311 template class AstType::Iterator<i::Object>;
1311 1312
1312 } // namespace internal 1313 } // namespace internal
1313 } // namespace v8 1314 } // namespace v8
OLDNEW
« no previous file with comments | « src/ast/ast.cc ('k') | src/ast/compile-time-value.h » ('j') | src/objects-printer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698