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

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: The fix 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 case TYPE_FEEDBACK_INFO_TYPE: 317 case TYPE_FEEDBACK_INFO_TYPE:
318 case ALIASED_ARGUMENTS_ENTRY_TYPE: 318 case ALIASED_ARGUMENTS_ENTRY_TYPE:
319 case BOX_TYPE: 319 case BOX_TYPE:
320 case PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE: 320 case PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE:
321 case PROMISE_REACTION_JOB_INFO_TYPE: 321 case PROMISE_REACTION_JOB_INFO_TYPE:
322 case DEBUG_INFO_TYPE: 322 case DEBUG_INFO_TYPE:
323 case BREAK_POINT_INFO_TYPE: 323 case BREAK_POINT_INFO_TYPE:
324 case CELL_TYPE: 324 case CELL_TYPE:
325 case WEAK_CELL_TYPE: 325 case WEAK_CELL_TYPE:
326 case PROTOTYPE_INFO_TYPE: 326 case PROTOTYPE_INFO_TYPE:
327 case TUPLE2_TYPE:
327 case TUPLE3_TYPE: 328 case TUPLE3_TYPE:
328 case CONTEXT_EXTENSION_TYPE: 329 case CONTEXT_EXTENSION_TYPE:
329 UNREACHABLE(); 330 UNREACHABLE();
330 return kNone; 331 return kNone;
331 } 332 }
332 UNREACHABLE(); 333 UNREACHABLE();
333 return kNone; 334 return kNone;
334 } 335 }
335 336
336 Type::bitset BitsetType::Lub(i::Object* value) { 337 Type::bitset BitsetType::Lub(i::Object* value) {
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32; 1062 return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32;
1062 } 1063 }
1063 1064
1064 BitsetType::bitset BitsetType::UnsignedSmall() { 1065 BitsetType::bitset BitsetType::UnsignedSmall() {
1065 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31; 1066 return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31;
1066 } 1067 }
1067 1068
1068 } // namespace compiler 1069 } // namespace compiler
1069 } // namespace internal 1070 } // namespace internal
1070 } // namespace v8 1071 } // 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