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

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

Issue 2419513002: [ic] Support data handlers that represent loads from prototypes. (Closed)
Patch Set: Rebasing Created 4 years, 2 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/code-stub-assembler.cc ('k') | src/counters.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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 case TYPE_FEEDBACK_INFO_TYPE: 264 case TYPE_FEEDBACK_INFO_TYPE:
265 case ALIASED_ARGUMENTS_ENTRY_TYPE: 265 case ALIASED_ARGUMENTS_ENTRY_TYPE:
266 case BOX_TYPE: 266 case BOX_TYPE:
267 case PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE: 267 case PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE:
268 case PROMISE_REACTION_JOB_INFO_TYPE: 268 case PROMISE_REACTION_JOB_INFO_TYPE:
269 case DEBUG_INFO_TYPE: 269 case DEBUG_INFO_TYPE:
270 case BREAK_POINT_INFO_TYPE: 270 case BREAK_POINT_INFO_TYPE:
271 case CELL_TYPE: 271 case CELL_TYPE:
272 case WEAK_CELL_TYPE: 272 case WEAK_CELL_TYPE:
273 case PROTOTYPE_INFO_TYPE: 273 case PROTOTYPE_INFO_TYPE:
274 case TUPLE3_TYPE:
274 case CONTEXT_EXTENSION_TYPE: 275 case CONTEXT_EXTENSION_TYPE:
275 UNREACHABLE(); 276 UNREACHABLE();
276 return kNone; 277 return kNone;
277 } 278 }
278 UNREACHABLE(); 279 UNREACHABLE();
279 return kNone; 280 return kNone;
280 } 281 }
281 282
282 Type::bitset BitsetType::Lub(i::Object* value) { 283 Type::bitset BitsetType::Lub(i::Object* value) {
283 DisallowHeapAllocation no_allocation; 284 DisallowHeapAllocation no_allocation;
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; 1008 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32;
1008 } 1009 }
1009 1010
1010 BitsetType::bitset BitsetType::UnsignedSmall() { 1011 BitsetType::bitset BitsetType::UnsignedSmall() {
1011 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; 1012 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31;
1012 } 1013 }
1013 1014
1014 } // namespace compiler 1015 } // namespace compiler
1015 } // namespace internal 1016 } // namespace internal
1016 } // namespace v8 1017 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698