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

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

Issue 2419513002: [ic] Support data handlers that represent loads from prototypes. (Closed)
Patch Set: 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
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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 case ALLOCATION_MEMENTO_TYPE: 263 case ALLOCATION_MEMENTO_TYPE:
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_CONTAINER_TYPE: 267 case PROMISE_CONTAINER_TYPE:
268 case DEBUG_INFO_TYPE: 268 case DEBUG_INFO_TYPE:
269 case BREAK_POINT_INFO_TYPE: 269 case BREAK_POINT_INFO_TYPE:
270 case CELL_TYPE: 270 case CELL_TYPE:
271 case WEAK_CELL_TYPE: 271 case WEAK_CELL_TYPE:
272 case PROTOTYPE_INFO_TYPE: 272 case PROTOTYPE_INFO_TYPE:
273 case TUPLE3_TYPE:
273 case CONTEXT_EXTENSION_TYPE: 274 case CONTEXT_EXTENSION_TYPE:
274 UNREACHABLE(); 275 UNREACHABLE();
275 return kNone; 276 return kNone;
276 } 277 }
277 UNREACHABLE(); 278 UNREACHABLE();
278 return kNone; 279 return kNone;
279 } 280 }
280 281
281 Type::bitset BitsetType::Lub(i::Object* value) { 282 Type::bitset BitsetType::Lub(i::Object* value) {
282 DisallowHeapAllocation no_allocation; 283 DisallowHeapAllocation no_allocation;
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; 995 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32;
995 } 996 }
996 997
997 BitsetType::bitset BitsetType::UnsignedSmall() { 998 BitsetType::bitset BitsetType::UnsignedSmall() {
998 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; 999 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31;
999 } 1000 }
1000 1001
1001 } // namespace compiler 1002 } // namespace compiler
1002 } // namespace internal 1003 } // namespace internal
1003 } // namespace v8 1004 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698