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

Side by Side Diff: src/code-stub-assembler.h

Issue 2842373005: [ic] Handle JSArray::length in CodeStubAssembler::CallGetterIfAccessor. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | src/code-stub-assembler.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_CODE_STUB_ASSEMBLER_H_ 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_
6 #define V8_CODE_STUB_ASSEMBLER_H_ 6 #define V8_CODE_STUB_ASSEMBLER_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "src/compiler/code-assembler.h" 10 #include "src/compiler/code-assembler.h"
(...skipping 10 matching lines...) Expand all
21 21
22 enum class PrimitiveType { kBoolean, kNumber, kString, kSymbol }; 22 enum class PrimitiveType { kBoolean, kNumber, kString, kSymbol };
23 23
24 #define HEAP_CONSTANT_LIST(V) \ 24 #define HEAP_CONSTANT_LIST(V) \
25 V(AccessorInfoMap, AccessorInfoMap) \ 25 V(AccessorInfoMap, AccessorInfoMap) \
26 V(AccessorPairMap, AccessorPairMap) \ 26 V(AccessorPairMap, AccessorPairMap) \
27 V(AllocationSiteMap, AllocationSiteMap) \ 27 V(AllocationSiteMap, AllocationSiteMap) \
28 V(BooleanMap, BooleanMap) \ 28 V(BooleanMap, BooleanMap) \
29 V(CodeMap, CodeMap) \ 29 V(CodeMap, CodeMap) \
30 V(empty_string, EmptyString) \ 30 V(empty_string, EmptyString) \
31 V(length_string, LengthString) \
31 V(EmptyFixedArray, EmptyFixedArray) \ 32 V(EmptyFixedArray, EmptyFixedArray) \
32 V(FalseValue, False) \ 33 V(FalseValue, False) \
33 V(FixedArrayMap, FixedArrayMap) \ 34 V(FixedArrayMap, FixedArrayMap) \
34 V(FixedCOWArrayMap, FixedCOWArrayMap) \ 35 V(FixedCOWArrayMap, FixedCOWArrayMap) \
35 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ 36 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \
36 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \ 37 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \
37 V(has_instance_symbol, HasInstanceSymbol) \ 38 V(has_instance_symbol, HasInstanceSymbol) \
38 V(HeapNumberMap, HeapNumberMap) \ 39 V(HeapNumberMap, HeapNumberMap) \
39 V(NoClosuresCellMap, NoClosuresCellMap) \ 40 V(NoClosuresCellMap, NoClosuresCellMap) \
40 V(OneClosureCellMap, OneClosureCellMap) \ 41 V(OneClosureCellMap, OneClosureCellMap) \
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 Node* IsJSGlobalProxy(Node* object); 738 Node* IsJSGlobalProxy(Node* object);
738 Node* IsJSReceiverInstanceType(Node* instance_type); 739 Node* IsJSReceiverInstanceType(Node* instance_type);
739 Node* IsJSReceiver(Node* object); 740 Node* IsJSReceiver(Node* object);
740 Node* IsJSReceiverMap(Node* map); 741 Node* IsJSReceiverMap(Node* map);
741 Node* IsMap(Node* object); 742 Node* IsMap(Node* object);
742 Node* IsCallableMap(Node* map); 743 Node* IsCallableMap(Node* map);
743 Node* IsDeprecatedMap(Node* map); 744 Node* IsDeprecatedMap(Node* map);
744 Node* IsCallable(Node* object); 745 Node* IsCallable(Node* object);
745 Node* IsBoolean(Node* object); 746 Node* IsBoolean(Node* object);
746 Node* IsPropertyCell(Node* object); 747 Node* IsPropertyCell(Node* object);
748 Node* IsAccessorInfo(Node* object);
747 Node* IsAccessorPair(Node* object); 749 Node* IsAccessorPair(Node* object);
748 Node* IsHeapNumber(Node* object); 750 Node* IsHeapNumber(Node* object);
749 Node* IsName(Node* object); 751 Node* IsName(Node* object);
750 Node* IsSymbol(Node* object); 752 Node* IsSymbol(Node* object);
751 Node* IsPrivateSymbol(Node* object); 753 Node* IsPrivateSymbol(Node* object);
752 Node* IsJSValue(Node* object); 754 Node* IsJSValue(Node* object);
753 Node* IsJSArray(Node* object); 755 Node* IsJSArray(Node* object);
754 Node* IsNativeContext(Node* object); 756 Node* IsNativeContext(Node* object);
755 Node* IsWeakCell(Node* object); 757 Node* IsWeakCell(Node* object);
756 Node* IsFixedDoubleArray(Node* object); 758 Node* IsFixedDoubleArray(Node* object);
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
1574 } 1576 }
1575 #else 1577 #else
1576 #define CSA_SLOW_ASSERT(csa, x) ((void)0) 1578 #define CSA_SLOW_ASSERT(csa, x) ((void)0)
1577 #endif 1579 #endif
1578 1580
1579 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1581 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1580 1582
1581 } // namespace internal 1583 } // namespace internal
1582 } // namespace v8 1584 } // namespace v8
1583 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1585 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698