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

Side by Side Diff: src/globals.h

Issue 2036493006: Keep prototype maps in dictionary mode until ICs see them (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: make ignition tests happy 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/factory.cc ('k') | src/ic/handler-compiler.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 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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 DEBUG_STUB 588 DEBUG_STUB
589 }; 589 };
590 590
591 enum CacheHolderFlag { 591 enum CacheHolderFlag {
592 kCacheOnPrototype, 592 kCacheOnPrototype,
593 kCacheOnPrototypeReceiverIsDictionary, 593 kCacheOnPrototypeReceiverIsDictionary,
594 kCacheOnPrototypeReceiverIsPrimitive, 594 kCacheOnPrototypeReceiverIsPrimitive,
595 kCacheOnReceiver 595 kCacheOnReceiver
596 }; 596 };
597 597
598 enum WhereToStart { kStartAtReceiver, kStartAtPrototype };
598 599
599 // The Store Buffer (GC). 600 // The Store Buffer (GC).
600 typedef enum { 601 typedef enum {
601 kStoreBufferFullEvent, 602 kStoreBufferFullEvent,
602 kStoreBufferStartScanningPagesEvent, 603 kStoreBufferStartScanningPagesEvent,
603 kStoreBufferScanningPageEvent 604 kStoreBufferScanningPageEvent
604 } StoreBufferEvent; 605 } StoreBufferEvent;
605 606
606 607
607 typedef void (*StoreBufferCallback)(Heap* heap, 608 typedef void (*StoreBufferCallback)(Heap* heap,
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> 1087 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >>
1087 kPointerSizeLog2); 1088 kPointerSizeLog2);
1088 } 1089 }
1089 1090
1090 } // namespace internal 1091 } // namespace internal
1091 } // namespace v8 1092 } // namespace v8
1092 1093
1093 namespace i = v8::internal; 1094 namespace i = v8::internal;
1094 1095
1095 #endif // V8_GLOBALS_H_ 1096 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/ic/handler-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698