V8 Project
v8::internal::compiler::InlinerVisitor Class Reference
+ Inheritance diagram for v8::internal::compiler::InlinerVisitor:
+ Collaboration diagram for v8::internal::compiler::InlinerVisitor:

Public Member Functions

 InlinerVisitor (JSInliner *inliner)
 
GenericGraphVisit::Control Post (Node *node)
 
- Public Member Functions inherited from v8::internal::compiler::GenericGraphVisit::NullNodeVisitor< B, S >
Control Pre (GenericNode< B, S > *node)
 
Control Post (GenericNode< B, S > *node)
 
void PreEdge (GenericNode< B, S > *from, int index, GenericNode< B, S > *to)
 
void PostEdge (GenericNode< B, S > *from, int index, GenericNode< B, S > *to)
 

Private Attributes

JSInlinerinliner_
 

Detailed Description

Definition at line 28 of file js-inlining.cc.

Constructor & Destructor Documentation

◆ InlinerVisitor()

v8::internal::compiler::InlinerVisitor::InlinerVisitor ( JSInliner inliner)
inlineexplicit

Definition at line 30 of file js-inlining.cc.

30 : inliner_(inliner) {}

Member Function Documentation

◆ Post()

GenericGraphVisit::Control v8::internal::compiler::InlinerVisitor::Post ( Node *  node)
inline

Definition at line 32 of file js-inlining.cc.

32  {
33  switch (node->opcode()) {
34  case IrOpcode::kJSCallFunction:
35  inliner_->TryInlineCall(node);
36  break;
37  default:
38  break;
39  }
41  }

References v8::internal::compiler::GenericGraphVisit::CONTINUE, inliner_, and v8::internal::compiler::JSInliner::TryInlineCall().

+ Here is the call graph for this function:

Member Data Documentation

◆ inliner_

JSInliner* v8::internal::compiler::InlinerVisitor::inliner_
private

Definition at line 44 of file js-inlining.cc.

Referenced by Post().


The documentation for this class was generated from the following file: