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

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

Issue 2534613002: [ic] Use validity cells to protect keyed element stores against object's prototype chain modificati… (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
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:
313 case TUPLE3_TYPE: 314 case TUPLE3_TYPE:
314 case CONTEXT_EXTENSION_TYPE: 315 case CONTEXT_EXTENSION_TYPE:
315 UNREACHABLE(); 316 UNREACHABLE();
316 return kNone; 317 return kNone;
317 } 318 }
318 UNREACHABLE(); 319 UNREACHABLE();
319 return kNone; 320 return kNone;
320 } 321 }
321 322
322 Type::bitset BitsetType::Lub(i::Object* value) { 323 Type::bitset BitsetType::Lub(i::Object* value) {
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; 1048 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32;
1048 } 1049 }
1049 1050
1050 BitsetType::bitset BitsetType::UnsignedSmall() { 1051 BitsetType::bitset BitsetType::UnsignedSmall() {
1051 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; 1052 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31;
1052 } 1053 }
1053 1054
1054 } // namespace compiler 1055 } // namespace compiler
1055 } // namespace internal 1056 } // namespace internal
1056 } // namespace v8 1057 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stub-assembler.h ('k') | src/elements.cc » ('j') | src/ic/accessor-assembler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698