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 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1037 compiler::Node* object, compiler::Node* key, compiler::Node* context, | 1037 compiler::Node* object, compiler::Node* key, compiler::Node* context, |
1038 Runtime::FunctionId fallback_runtime_function_id = Runtime::kHasProperty); | 1038 Runtime::FunctionId fallback_runtime_function_id = Runtime::kHasProperty); |
1039 compiler::Node* ForInFilter(compiler::Node* key, compiler::Node* object, | 1039 compiler::Node* ForInFilter(compiler::Node* key, compiler::Node* object, |
1040 compiler::Node* context); | 1040 compiler::Node* context); |
1041 | 1041 |
1042 compiler::Node* Typeof(compiler::Node* value, compiler::Node* context); | 1042 compiler::Node* Typeof(compiler::Node* value, compiler::Node* context); |
1043 | 1043 |
1044 compiler::Node* InstanceOf(compiler::Node* object, compiler::Node* callable, | 1044 compiler::Node* InstanceOf(compiler::Node* object, compiler::Node* callable, |
1045 compiler::Node* context); | 1045 compiler::Node* context); |
1046 | 1046 |
| 1047 // Debug helpers |
| 1048 compiler::Node* IsDebugActive(); |
| 1049 |
1047 // TypedArray/ArrayBuffer helpers | 1050 // TypedArray/ArrayBuffer helpers |
1048 compiler::Node* IsDetachedBuffer(compiler::Node* buffer); | 1051 compiler::Node* IsDetachedBuffer(compiler::Node* buffer); |
1049 | 1052 |
1050 compiler::Node* ElementOffsetFromIndex(compiler::Node* index, | 1053 compiler::Node* ElementOffsetFromIndex(compiler::Node* index, |
1051 ElementsKind kind, ParameterMode mode, | 1054 ElementsKind kind, ParameterMode mode, |
1052 int base_size = 0); | 1055 int base_size = 0); |
1053 | 1056 |
1054 protected: | 1057 protected: |
1055 void DescriptorLookupLinear(compiler::Node* unique_name, | 1058 void DescriptorLookupLinear(compiler::Node* unique_name, |
1056 compiler::Node* descriptors, compiler::Node* nof, | 1059 compiler::Node* descriptors, compiler::Node* nof, |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1172 } | 1175 } |
1173 #else | 1176 #else |
1174 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1177 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
1175 #endif | 1178 #endif |
1176 | 1179 |
1177 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1180 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
1178 | 1181 |
1179 } // namespace internal | 1182 } // namespace internal |
1180 } // namespace v8 | 1183 } // namespace v8 |
1181 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1184 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |