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

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

Issue 2538693002: Revert of [ic] Use validity cells to protect keyed element stores against object's prototype chain… (Closed)
Patch Set: 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/code-stub-assembler.h ('k') | src/elements.cc » ('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 case TYPE_FEEDBACK_INFO_TYPE: 303 case TYPE_FEEDBACK_INFO_TYPE:
304 case ALIASED_ARGUMENTS_ENTRY_TYPE: 304 case ALIASED_ARGUMENTS_ENTRY_TYPE:
305 case BOX_TYPE: 305 case BOX_TYPE:
306 case PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE: 306 case PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE:
307 case PROMISE_REACTION_JOB_INFO_TYPE: 307 case PROMISE_REACTION_JOB_INFO_TYPE:
308 case DEBUG_INFO_TYPE: 308 case DEBUG_INFO_TYPE:
309 case BREAK_POINT_INFO_TYPE: 309 case BREAK_POINT_INFO_TYPE:
310 case CELL_TYPE: 310 case CELL_TYPE:
311 case WEAK_CELL_TYPE: 311 case WEAK_CELL_TYPE:
312 case PROTOTYPE_INFO_TYPE: 312 case PROTOTYPE_INFO_TYPE:
313 case TUPLE2_TYPE:
314 case TUPLE3_TYPE: 313 case TUPLE3_TYPE:
315 case CONTEXT_EXTENSION_TYPE: 314 case CONTEXT_EXTENSION_TYPE:
316 UNREACHABLE(); 315 UNREACHABLE();
317 return kNone; 316 return kNone;
318 } 317 }
319 UNREACHABLE(); 318 UNREACHABLE();
320 return kNone; 319 return kNone;
321 } 320 }
322 321
323 Type::bitset BitsetType::Lub(i::Object* value) { 322 Type::bitset BitsetType::Lub(i::Object* value) {
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; 1047 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32;
1049 } 1048 }
1050 1049
1051 BitsetType::bitset BitsetType::UnsignedSmall() { 1050 BitsetType::bitset BitsetType::UnsignedSmall() {
1052 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; 1051 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31;
1053 } 1052 }
1054 1053
1055 } // namespace compiler 1054 } // namespace compiler
1056 } // namespace internal 1055 } // namespace internal
1057 } // namespace v8 1056 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stub-assembler.h ('k') | src/elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698