V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::CodeStub Class Referenceabstract
Inheritance diagram for v8::internal::CodeStub:
v8::internal::ZoneObject v8::internal::PlatformCodeStub v8::internal::CallApiCallbackStub v8::internal::CallApiGetterStub v8::internal::DirectCEntryStub v8::internal::DirectCEntryStub v8::internal::DirectCEntryStub v8::internal::DirectCEntryStub v8::internal::DirectCEntryStub v8::internal::DirectCEntryStub v8::internal::JSEntryStub

Public Types

enum  Major { NoCache = 0, NUMBER_OF_IDS }
 

Public Member Functions

Handle< CodeGetCode ()
 
 CodeStub (Isolate *isolate)
 
virtual bool SometimesSetsUpAFrame ()
 
bool FindCodeInCache (Code *code_out)
 
virtual CallInterfaceDescriptor GetCallInterfaceDescriptor () const =0
 
virtual int GetStackParameterCount () const
 
virtual Major MajorKey () const =0
 
uint32_t MinorKey () const
 
Isolateisolate () const
 
void set_isolate (Isolate *isolate)
 
void DeleteStubFromCacheForTesting ()
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Static Public Member Functions

static Major MajorKeyFromKey (uint32_t key)
 
static uint32_t MinorKeyFromKey (uint32_t key)
 
static Major GetMajorKey (const Code code_stub)
 
static uint32_t NoCacheKey ()
 
static const charMajorName (Major major_key)
 
static void InitializeDescriptor (Isolate *isolate, uint32_t key, CodeStubDescriptor *desc)
 
static MaybeHandle< CodeGetCode (Isolate *isolate, uint32_t key)
 

Protected Member Functions

 CodeStub (uint32_t key, Isolate *isolate)
 
virtual Handle< CodeGenerateCode ()=0
 
virtual Movability NeedsImmovableCode ()
 
virtual void PrintName (std::ostream &os) const
 
virtual void PrintBaseName (std::ostream &os) const
 
virtual void PrintState (std::ostream &os) const
 
uint32_t GetKey ()
 

Protected Attributes

uint32_t minor_key_
 

Friends

class BreakPointIterator
 
std::ostream & operator<< (std::ostream &os, const CodeStub &s)
 

Detailed Description

Definition at line 81 of file code-stubs.h.


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