| // Copyright 2017 the V8 project authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef V8_INTERPRETER_INTERPRETER_INTRINSICS_GENERATOR_H_ |
| #define V8_INTERPRETER_INTERPRETER_INTRINSICS_GENERATOR_H_ |
| |
| namespace v8 { |
| namespace internal { |
| |
| namespace compiler { |
| class Node; |
| } // namespace compiler |
| |
| namespace interpreter { |
| |
| class InterpreterAssembler; |
| |
| extern compiler::Node* GenerateInvokeIntrinsic(InterpreterAssembler* assembler, |
| compiler::Node* function_id, |
| compiler::Node* context, |
| compiler::Node* first_arg_reg, |
| compiler::Node* arg_count); |
| |
| } // namespace interpreter |
| } // namespace internal |
| } // namespace v8 |
| |
| #endif // V8_INTERPRETER_INTERPRETER_INTRINSICS_GENERATOR_H_ |