V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::CodeStubArguments Class Reference

Public Types

enum  ReceiverMode { kHasReceiver, kNoReceiver }
 
typedef compiler::Node Node
 
template<class T >
using TNode = compiler::TNode< T >
 
template<class T >
using SloppyTNode = compiler::SloppyTNode< T >
 
typedef std::function< void(Node *arg)> ForEachBodyFunction
 

Public Member Functions

 CodeStubArguments (CodeStubAssembler *assembler, Node *argc, ReceiverMode receiver_mode=ReceiverMode::kHasReceiver)
 
 CodeStubArguments (CodeStubAssembler *assembler, Node *argc, Node *fp, CodeStubAssembler::ParameterMode param_mode, ReceiverMode receiver_mode=ReceiverMode::kHasReceiver)
 
TNode< ObjectGetReceiver () const
 
void SetReceiver (TNode< Object > object) const
 
TNode< RawPtr< Object > > AtIndexPtr (Node *index, CodeStubAssembler::ParameterMode mode=CodeStubAssembler::INTPTR_PARAMETERS) const
 
TNode< ObjectAtIndex (Node *index, CodeStubAssembler::ParameterMode mode=CodeStubAssembler::INTPTR_PARAMETERS) const
 
TNode< ObjectAtIndex (int index) const
 
TNode< ObjectGetOptionalArgumentValue (int index)
 
TNode< ObjectGetOptionalArgumentValue (int index, TNode< Object > default_value)
 
NodeGetLength (CodeStubAssembler::ParameterMode mode) const
 
TNode< ObjectGetOptionalArgumentValue (TNode< IntPtrT > index)
 
TNode< ObjectGetOptionalArgumentValue (TNode< IntPtrT > index, TNode< Object > default_value)
 
TNode< IntPtrTGetLength () const
 
void ForEach (const ForEachBodyFunction &body, Node *first=nullptr, Node *last=nullptr, CodeStubAssembler::ParameterMode mode=CodeStubAssembler::INTPTR_PARAMETERS)
 
void ForEach (const CodeStubAssembler::VariableList &vars, const ForEachBodyFunction &body, Node *first=nullptr, Node *last=nullptr, CodeStubAssembler::ParameterMode mode=CodeStubAssembler::INTPTR_PARAMETERS)
 
void PopAndReturn (Node *value)
 

Detailed Description

Definition at line 3271 of file code-stub-assembler.h.


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