LCOV - code coverage report
Current view: top level - src/ic - binary-op-assembler.h (source / functions) Hit Total Coverage
Test: app.info Lines: 1 1 100.0 %
Date: 2017-04-26 Functions: 0 0 -

          Line data    Source code
       1             : // Copyright 2017 the V8 project authors. All rights reserved.
       2             : // Use of this source code is governed by a BSD-style license that can be
       3             : // found in the LICENSE file.
       4             : 
       5             : #ifndef V8_SRC_IC_BINARY_OP_ASSEMBLER_H_
       6             : #define V8_SRC_IC_BINARY_OP_ASSEMBLER_H_
       7             : 
       8             : #include "src/code-stub-assembler.h"
       9             : 
      10             : namespace v8 {
      11             : namespace internal {
      12             : 
      13             : namespace compiler {
      14             : class CodeAssemblerState;
      15             : }
      16             : 
      17             : class BinaryOpAssembler : public CodeStubAssembler {
      18             :  public:
      19             :   typedef compiler::Node Node;
      20             : 
      21             :   explicit BinaryOpAssembler(compiler::CodeAssemblerState* state)
      22         860 :       : CodeStubAssembler(state) {}
      23             : 
      24             :   Node* Generate_AddWithFeedback(Node* context, Node* lhs, Node* rhs,
      25             :                                  Node* slot_id, Node* feedback_vector);
      26             : 
      27             :   Node* Generate_SubtractWithFeedback(Node* context, Node* lhs, Node* rhs,
      28             :                                       Node* slot_id, Node* feedback_vector);
      29             : 
      30             :   Node* Generate_MultiplyWithFeedback(Node* context, Node* lhs, Node* rhs,
      31             :                                       Node* slot_id, Node* feedback_vector);
      32             : 
      33             :   Node* Generate_DivideWithFeedback(Node* context, Node* dividend,
      34             :                                     Node* divisor, Node* slot_id,
      35             :                                     Node* feedback_vector);
      36             : 
      37             :   Node* Generate_ModulusWithFeedback(Node* context, Node* dividend,
      38             :                                      Node* divisor, Node* slot_id,
      39             :                                      Node* feedback_vector);
      40             : };
      41             : 
      42             : }  // namespace internal
      43             : }  // namespace v8
      44             : 
      45             : #endif  // V8_SRC_IC_BINARY_OP_ASSEMBLER_H_

Generated by: LCOV version 1.10