V8 Project
v8::internal::CEntryStub Class Reference

#include <code-stubs.h>

+ Inheritance diagram for v8::internal::CEntryStub:
+ Collaboration diagram for v8::internal::CEntryStub:

Classes

class  ResultSizeBits
 
class  SaveDoublesBits
 

Public Member Functions

 CEntryStub (Isolate *isolate, int result_size, SaveFPRegsMode save_doubles=kDontSaveFPRegs)
 
- Public Member Functions inherited from v8::internal::PlatformCodeStub
virtual Handle< CodeGenerateCode () OVERRIDE
 
virtual Code::Kind GetCodeKind () const
 

Static Public Member Functions

static void GenerateAheadOfTime (Isolate *isolate)
 

Private Member Functions

bool save_doubles () const
 
bool NeedsImmovableCode ()
 
 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR ()
 
 DEFINE_PLATFORM_CODE_STUB (CEntry, PlatformCodeStub)
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::PlatformCodeStub
 PlatformCodeStub (Isolate *isolate)
 
virtual void Generate (MacroAssembler *masm)=0
 
 DEFINE_CODE_STUB_BASE (PlatformCodeStub, CodeStub)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CEntryStub()

v8::internal::CEntryStub::CEntryStub ( Isolate isolate,
int  result_size,
SaveFPRegsMode  save_doubles = kDontSaveFPRegs 
)
inline

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

1408  : PlatformCodeStub(isolate) {
1410  DCHECK(result_size == 1 || result_size == 2);
1411 #ifdef _WIN64
1412  minor_key_ = ResultSizeBits::update(minor_key_, result_size);
1413 #endif // _WIN64
1414  }
static U update(U previous, T value)
Definition: utils.h:223
static U encode(T value)
Definition: utils.h:217
bool save_doubles() const
Definition: code-stubs.h:1423
PlatformCodeStub(Isolate *isolate)
Definition: code-stubs.h:341
#define DCHECK(condition)
Definition: logging.h:205

References DCHECK, v8::internal::BitFieldBase< T, shift, size, U >::encode(), v8::internal::kSaveFPRegs, save_doubles(), and v8::internal::BitFieldBase< T, shift, size, U >::update().

+ Here is the call graph for this function:

Member Function Documentation

◆ DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR()

v8::internal::CEntryStub::DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR ( )
private

◆ DEFINE_PLATFORM_CODE_STUB()

v8::internal::CEntryStub::DEFINE_PLATFORM_CODE_STUB ( CEntry  ,
PlatformCodeStub   
)
private

◆ GenerateAheadOfTime()

static void v8::internal::CEntryStub::GenerateAheadOfTime ( Isolate isolate)
static

◆ NeedsImmovableCode()

bool v8::internal::CEntryStub::NeedsImmovableCode ( )
private

◆ save_doubles()

bool v8::internal::CEntryStub::save_doubles ( ) const
inlineprivate

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

1423 { return SaveDoublesBits::decode(minor_key_); }
static T decode(U value)
Definition: utils.h:228

References v8::internal::BitFieldBase< T, shift, size, U >::decode().

Referenced by CEntryStub().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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