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

Side by Side Diff: src/objects.h

Issue 1217943004: Vector ICs: Introduce an InstanceType for the type feedback vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix for failing test. Created 5 years, 5 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
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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // - GlobalObject 65 // - GlobalObject
66 // - JSGlobalObject 66 // - JSGlobalObject
67 // - JSBuiltinsObject 67 // - JSBuiltinsObject
68 // - JSGlobalProxy 68 // - JSGlobalProxy
69 // - JSValue 69 // - JSValue
70 // - JSDate 70 // - JSDate
71 // - JSMessageObject 71 // - JSMessageObject
72 // - JSProxy 72 // - JSProxy
73 // - JSFunctionProxy 73 // - JSFunctionProxy
74 // - FixedArrayBase 74 // - FixedArrayBase
75 // - ByteArray 75 // - ByteArray
Hannes Payer (out of office) 2015/07/01 09:30:39 Add your type here.
76 // - FixedArray 76 // - FixedArray
77 // - DescriptorArray 77 // - DescriptorArray
78 // - HashTable 78 // - HashTable
79 // - Dictionary 79 // - Dictionary
80 // - StringTable 80 // - StringTable
81 // - CompilationCacheTable 81 // - CompilationCacheTable
82 // - CodeCacheHashTable 82 // - CodeCacheHashTable
83 // - MapCache 83 // - MapCache
84 // - OrderedHashTable 84 // - OrderedHashTable
85 // - OrderedHashSet 85 // - OrderedHashSet
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 V(SCRIPT_TYPE) \ 440 V(SCRIPT_TYPE) \
441 V(CODE_CACHE_TYPE) \ 441 V(CODE_CACHE_TYPE) \
442 V(POLYMORPHIC_CODE_CACHE_TYPE) \ 442 V(POLYMORPHIC_CODE_CACHE_TYPE) \
443 V(TYPE_FEEDBACK_INFO_TYPE) \ 443 V(TYPE_FEEDBACK_INFO_TYPE) \
444 V(ALIASED_ARGUMENTS_ENTRY_TYPE) \ 444 V(ALIASED_ARGUMENTS_ENTRY_TYPE) \
445 V(BOX_TYPE) \ 445 V(BOX_TYPE) \
446 V(PROTOTYPE_INFO_TYPE) \ 446 V(PROTOTYPE_INFO_TYPE) \
447 \ 447 \
448 V(FIXED_ARRAY_TYPE) \ 448 V(FIXED_ARRAY_TYPE) \
449 V(FIXED_DOUBLE_ARRAY_TYPE) \ 449 V(FIXED_DOUBLE_ARRAY_TYPE) \
450 V(FEEDBACK_VECTOR_TYPE) \
450 V(SHARED_FUNCTION_INFO_TYPE) \ 451 V(SHARED_FUNCTION_INFO_TYPE) \
451 V(WEAK_CELL_TYPE) \ 452 V(WEAK_CELL_TYPE) \
452 \ 453 \
453 V(JS_MESSAGE_OBJECT_TYPE) \ 454 V(JS_MESSAGE_OBJECT_TYPE) \
454 \ 455 \
455 V(JS_VALUE_TYPE) \ 456 V(JS_VALUE_TYPE) \
456 V(JS_DATE_TYPE) \ 457 V(JS_DATE_TYPE) \
457 V(JS_OBJECT_TYPE) \ 458 V(JS_OBJECT_TYPE) \
458 V(JS_CONTEXT_EXTENSION_OBJECT_TYPE) \ 459 V(JS_CONTEXT_EXTENSION_OBJECT_TYPE) \
459 V(JS_GENERATOR_OBJECT_TYPE) \ 460 V(JS_GENERATOR_OBJECT_TYPE) \
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 ALLOCATION_MEMENTO_TYPE, 733 ALLOCATION_MEMENTO_TYPE,
733 SCRIPT_TYPE, 734 SCRIPT_TYPE,
734 CODE_CACHE_TYPE, 735 CODE_CACHE_TYPE,
735 POLYMORPHIC_CODE_CACHE_TYPE, 736 POLYMORPHIC_CODE_CACHE_TYPE,
736 TYPE_FEEDBACK_INFO_TYPE, 737 TYPE_FEEDBACK_INFO_TYPE,
737 ALIASED_ARGUMENTS_ENTRY_TYPE, 738 ALIASED_ARGUMENTS_ENTRY_TYPE,
738 BOX_TYPE, 739 BOX_TYPE,
739 DEBUG_INFO_TYPE, 740 DEBUG_INFO_TYPE,
740 BREAK_POINT_INFO_TYPE, 741 BREAK_POINT_INFO_TYPE,
741 FIXED_ARRAY_TYPE, 742 FIXED_ARRAY_TYPE,
743 FEEDBACK_VECTOR_TYPE,
742 SHARED_FUNCTION_INFO_TYPE, 744 SHARED_FUNCTION_INFO_TYPE,
743 CELL_TYPE, 745 CELL_TYPE,
744 WEAK_CELL_TYPE, 746 WEAK_CELL_TYPE,
745 PROPERTY_CELL_TYPE, 747 PROPERTY_CELL_TYPE,
746 PROTOTYPE_INFO_TYPE, 748 PROTOTYPE_INFO_TYPE,
747 749
748 // All the following types are subtypes of JSReceiver, which corresponds to 750 // All the following types are subtypes of JSReceiver, which corresponds to
749 // objects in the JS sense. The first and the last type in this range are 751 // objects in the JS sense. The first and the last type in this range are
750 // the two forms of function. This organization enables using the same 752 // the two forms of function. This organization enables using the same
751 // compares for checking the JS_RECEIVER/SPEC_OBJECT range and the 753 // compares for checking the JS_RECEIVER/SPEC_OBJECT range and the
(...skipping 10065 matching lines...) Expand 10 before | Expand all | Expand 10 after
10817 } else { 10819 } else {
10818 value &= ~(1 << bit_position); 10820 value &= ~(1 << bit_position);
10819 } 10821 }
10820 return value; 10822 return value;
10821 } 10823 }
10822 }; 10824 };
10823 10825
10824 } } // namespace v8::internal 10826 } } // namespace v8::internal
10825 10827
10826 #endif // V8_OBJECTS_H_ 10828 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/heap/objects-visiting-inl.h ('k') | src/objects.cc » ('j') | src/runtime/runtime-array.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698