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

Side by Side Diff: src/globals.h

Issue 2052763003: [ic] [stubs] Remove InlineCacheState field from the code flags. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing Created 4 years, 6 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/external-reference-table.cc ('k') | src/ic/ic.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 // Has been executed and only one receiver type has been seen. 577 // Has been executed and only one receiver type has been seen.
578 MONOMORPHIC, 578 MONOMORPHIC,
579 // Check failed due to prototype (or map deprecation). 579 // Check failed due to prototype (or map deprecation).
580 RECOMPUTE_HANDLER, 580 RECOMPUTE_HANDLER,
581 // Multiple receiver types have been seen. 581 // Multiple receiver types have been seen.
582 POLYMORPHIC, 582 POLYMORPHIC,
583 // Many receiver types have been seen. 583 // Many receiver types have been seen.
584 MEGAMORPHIC, 584 MEGAMORPHIC,
585 // A generic handler is installed and no extra typefeedback is recorded. 585 // A generic handler is installed and no extra typefeedback is recorded.
586 GENERIC, 586 GENERIC,
587 // Special state for debug break or step in prepare stubs.
588 DEBUG_STUB
589 }; 587 };
590 588
591 enum CacheHolderFlag { 589 enum CacheHolderFlag {
592 kCacheOnPrototype, 590 kCacheOnPrototype,
593 kCacheOnPrototypeReceiverIsDictionary, 591 kCacheOnPrototypeReceiverIsDictionary,
594 kCacheOnPrototypeReceiverIsPrimitive, 592 kCacheOnPrototypeReceiverIsPrimitive,
595 kCacheOnReceiver 593 kCacheOnReceiver
596 }; 594 };
597 595
598 enum WhereToStart { kStartAtReceiver, kStartAtPrototype }; 596 enum WhereToStart { kStartAtReceiver, kStartAtPrototype };
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> 1085 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >>
1088 kPointerSizeLog2); 1086 kPointerSizeLog2);
1089 } 1087 }
1090 1088
1091 } // namespace internal 1089 } // namespace internal
1092 } // namespace v8 1090 } // namespace v8
1093 1091
1094 namespace i = v8::internal; 1092 namespace i = v8::internal;
1095 1093
1096 #endif // V8_GLOBALS_H_ 1094 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/external-reference-table.cc ('k') | src/ic/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698