LCOV - code coverage report
Current view: top level - src/builtins - builtins-constructor-gen.h (source / functions) Hit Total Coverage
Test: app.info Lines: 1 1 100.0 %
Date: 2017-10-20 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_BUILTINS_BUILTINS_CONSTRUCTOR_GEN_H_
       6             : #define V8_BUILTINS_BUILTINS_CONSTRUCTOR_GEN_H_
       7             : 
       8             : #include "src/code-stub-assembler.h"
       9             : 
      10             : namespace v8 {
      11             : namespace internal {
      12             : 
      13             : class ConstructorBuiltinsAssembler : public CodeStubAssembler {
      14             :  public:
      15             :   explicit ConstructorBuiltinsAssembler(compiler::CodeAssemblerState* state)
      16        1240 :       : CodeStubAssembler(state) {}
      17             : 
      18             :   Node* EmitFastNewClosure(Node* shared_info, Node* feedback_vector, Node* slot,
      19             :                            Node* context);
      20             :   Node* EmitFastNewFunctionContext(Node* closure, Node* slots, Node* context,
      21             :                                    ScopeType scope_type);
      22             : 
      23             :   Node* EmitCreateRegExpLiteral(Node* feedback_vector, Node* slot,
      24             :                                 Node* pattern, Node* flags, Node* context);
      25             :   Node* EmitCreateShallowArrayLiteral(Node* feedback_vector, Node* slot,
      26             :                                       Node* context, Label* call_runtime,
      27             :                                       AllocationSiteMode allocation_site_mode);
      28             : 
      29             :   Node* EmitCreateEmptyArrayLiteral(Node* feedback_vector, Node* slot,
      30             :                                     Node* context);
      31             : 
      32             :   Node* EmitCreateShallowObjectLiteral(Node* feedback_vector, Node* slot,
      33             :                                        Label* call_runtime);
      34             :   Node* EmitCreateEmptyObjectLiteral(Node* context);
      35             : 
      36             :   Node* EmitFastNewObject(Node* context, Node* target, Node* new_target);
      37             : 
      38             :   Node* EmitFastNewObject(Node* context, Node* target, Node* new_target,
      39             :                           Label* call_runtime);
      40             : 
      41             :   Node* EmitConstructString(Node* argc, CodeStubArguments& args, Node* context,
      42             :                             bool convert_symbol);
      43             : 
      44             :  private:
      45             :   Node* NotHasBoilerplate(Node* literal_site);
      46             :   Node* LoadAllocationSiteBoilerplate(Node* allocation_site);
      47             : };
      48             : 
      49             : }  // namespace internal
      50             : }  // namespace v8
      51             : 
      52             : #endif  // V8_BUILTINS_BUILTINS_CONSTRUCTOR_GEN_H_

Generated by: LCOV version 1.10