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 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1132 // differs from positive zero. | 1132 // differs from positive zero. |
1133 // Unlike Equal and StrictEqual, returns a value suitable for use in Branch | 1133 // Unlike Equal and StrictEqual, returns a value suitable for use in Branch |
1134 // instructions, e.g. Branch(SameValue(...), &label). | 1134 // instructions, e.g. Branch(SameValue(...), &label). |
1135 Node* SameValue(Node* lhs, Node* rhs, Node* context); | 1135 Node* SameValue(Node* lhs, Node* rhs, Node* context); |
1136 | 1136 |
1137 Node* HasProperty( | 1137 Node* HasProperty( |
1138 Node* object, Node* key, Node* context, | 1138 Node* object, Node* key, Node* context, |
1139 Runtime::FunctionId fallback_runtime_function_id = Runtime::kHasProperty); | 1139 Runtime::FunctionId fallback_runtime_function_id = Runtime::kHasProperty); |
1140 Node* ForInFilter(Node* key, Node* object, Node* context); | 1140 Node* ForInFilter(Node* key, Node* object, Node* context); |
1141 | 1141 |
| 1142 Node* ClassOf(Node* object); |
| 1143 |
1142 Node* Typeof(Node* value, Node* context); | 1144 Node* Typeof(Node* value, Node* context); |
1143 | 1145 |
1144 Node* GetSuperConstructor(Node* value, Node* context); | 1146 Node* GetSuperConstructor(Node* value, Node* context); |
1145 | 1147 |
1146 Node* InstanceOf(Node* object, Node* callable, Node* context); | 1148 Node* InstanceOf(Node* object, Node* callable, Node* context); |
1147 | 1149 |
1148 // Debug helpers | 1150 // Debug helpers |
1149 Node* IsDebugActive(); | 1151 Node* IsDebugActive(); |
1150 | 1152 |
1151 // TypedArray/ArrayBuffer helpers | 1153 // TypedArray/ArrayBuffer helpers |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 } | 1286 } |
1285 #else | 1287 #else |
1286 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1288 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
1287 #endif | 1289 #endif |
1288 | 1290 |
1289 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1291 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
1290 | 1292 |
1291 } // namespace internal | 1293 } // namespace internal |
1292 } // namespace v8 | 1294 } // namespace v8 |
1293 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1295 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |