V8 Project
v8::internal::DoubleToIStub Class Reference

#include <code-stubs.h>

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

Classes

class  DestinationRegisterBits
 
class  IsTruncatingBits
 
class  OffsetBits
 
class  SkipFastPathBits
 
class  SourceRegisterBits
 
class  SSE3Bits
 

Public Member Functions

 DoubleToIStub (Isolate *isolate, Register source, Register destination, int offset, bool is_truncating, bool skip_fastpath=false)
 
virtual bool SometimesSetsUpAFrame ()
 
- Public Member Functions inherited from v8::internal::PlatformCodeStub
virtual Handle< CodeGenerateCode () OVERRIDE
 
virtual Code::Kind GetCodeKind () const
 

Private Member Functions

Register source () const
 
Register destination () const
 
bool is_truncating () const
 
bool skip_fastpath () const
 
int offset () const
 
 STATIC_ASSERT ((1L<< kBitsPerRegisterNumber) >=Register::kNumRegisters)
 
 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR ()
 
 DEFINE_PLATFORM_CODE_STUB (DoubleToI, PlatformCodeStub)
 

Static Private Attributes

static const int kBitsPerRegisterNumber = 6
 

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 1885 of file code-stubs.h.

Constructor & Destructor Documentation

◆ DoubleToIStub()

v8::internal::DoubleToIStub::DoubleToIStub ( Isolate isolate,
Register  source,
Register  destination,
int  offset,
bool  is_truncating,
bool  skip_fastpath = false 
)
inline

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

References v8::internal::Register::code(), destination(), v8::internal::BitFieldBase< T, shift, size, U >::encode(), is_truncating(), v8::internal::CpuFeatures::IsSupported(), offset(), skip_fastpath(), source(), and v8::internal::SSE3.

+ Here is the call graph for this function:

Member Function Documentation

◆ DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR()

v8::internal::DoubleToIStub::DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR ( )
private

◆ DEFINE_PLATFORM_CODE_STUB()

v8::internal::DoubleToIStub::DEFINE_PLATFORM_CODE_STUB ( DoubleToI  ,
PlatformCodeStub   
)
private

◆ destination()

Register v8::internal::DoubleToIStub::destination ( ) const
inlineprivate

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

1904  {
1906  }
static T decode(U value)
Definition: utils.h:228
static Register from_code(int code)

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

Referenced by DoubleToIStub().

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

◆ is_truncating()

bool v8::internal::DoubleToIStub::is_truncating ( ) const
inlineprivate

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

1907 { return IsTruncatingBits::decode(minor_key_); }

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

Referenced by DoubleToIStub().

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

◆ offset()

int v8::internal::DoubleToIStub::offset ( ) const
inlineprivate

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

1909 { return OffsetBits::decode(minor_key_); }

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

Referenced by DoubleToIStub().

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

◆ skip_fastpath()

bool v8::internal::DoubleToIStub::skip_fastpath ( ) const
inlineprivate

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

1908 { return SkipFastPathBits::decode(minor_key_); }

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

Referenced by DoubleToIStub().

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

◆ SometimesSetsUpAFrame()

virtual bool v8::internal::DoubleToIStub::SometimesSetsUpAFrame ( )
inlinevirtual

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

1898 { return false; }

◆ source()

Register v8::internal::DoubleToIStub::source ( ) const
inlineprivate

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

1901  {
1902  return Register::from_code(SourceRegisterBits::decode(minor_key_));
1903  }

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

Referenced by DoubleToIStub().

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

◆ STATIC_ASSERT()

v8::internal::DoubleToIStub::STATIC_ASSERT ( (1L<< kBitsPerRegisterNumber) >=Register::kNumRegisters  )
private

Member Data Documentation

◆ kBitsPerRegisterNumber

const int v8::internal::DoubleToIStub::kBitsPerRegisterNumber = 6
staticprivate

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


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