OLD | NEW |
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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 compiler::Node* rhs, compiler::Node* context); | 976 compiler::Node* rhs, compiler::Node* context); |
977 | 977 |
978 compiler::Node* HasProperty( | 978 compiler::Node* HasProperty( |
979 compiler::Node* object, compiler::Node* key, compiler::Node* context, | 979 compiler::Node* object, compiler::Node* key, compiler::Node* context, |
980 Runtime::FunctionId fallback_runtime_function_id = Runtime::kHasProperty); | 980 Runtime::FunctionId fallback_runtime_function_id = Runtime::kHasProperty); |
981 compiler::Node* ForInFilter(compiler::Node* key, compiler::Node* object, | 981 compiler::Node* ForInFilter(compiler::Node* key, compiler::Node* object, |
982 compiler::Node* context); | 982 compiler::Node* context); |
983 | 983 |
984 compiler::Node* Typeof(compiler::Node* value, compiler::Node* context); | 984 compiler::Node* Typeof(compiler::Node* value, compiler::Node* context); |
985 | 985 |
| 986 compiler::Node* GetSuperConstructor(compiler::Node* value, |
| 987 compiler::Node* context); |
| 988 |
986 compiler::Node* InstanceOf(compiler::Node* object, compiler::Node* callable, | 989 compiler::Node* InstanceOf(compiler::Node* object, compiler::Node* callable, |
987 compiler::Node* context); | 990 compiler::Node* context); |
988 | 991 |
989 // TypedArray/ArrayBuffer helpers | 992 // TypedArray/ArrayBuffer helpers |
990 compiler::Node* IsDetachedBuffer(compiler::Node* buffer); | 993 compiler::Node* IsDetachedBuffer(compiler::Node* buffer); |
991 | 994 |
992 private: | 995 private: |
993 enum ElementSupport { kOnlyProperties, kSupportElements }; | 996 enum ElementSupport { kOnlyProperties, kSupportElements }; |
994 | 997 |
995 void DescriptorLookupLinear(compiler::Node* unique_name, | 998 void DescriptorLookupLinear(compiler::Node* unique_name, |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1053 static const int kElementLoopUnrollThreshold = 8; | 1056 static const int kElementLoopUnrollThreshold = 8; |
1054 }; | 1057 }; |
1055 | 1058 |
1056 #define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__) | 1059 #define CSA_ASSERT(x) Assert((x), #x, __FILE__, __LINE__) |
1057 | 1060 |
1058 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1061 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
1059 | 1062 |
1060 } // namespace internal | 1063 } // namespace internal |
1061 } // namespace v8 | 1064 } // namespace v8 |
1062 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1065 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |