V8 Project
v8::internal::WriteInt32ToHeapNumberStub Class Reference

#include <code-stubs-arm.h>

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

Classes

class  HeapNumberRegisterBits
 
class  IntRegisterBits
 
class  ScratchRegisterBits
 
class  SignRegisterBits
 

Public Member Functions

 WriteInt32ToHeapNumberStub (Isolate *isolate, Register the_int, Register the_heap_number, Register scratch)
 
 WriteInt32ToHeapNumberStub (Isolate *isolate, Register the_int, Register the_heap_number, Register scratch, Register scratch2)
 
 WriteInt32ToHeapNumberStub (Isolate *isolate, Register the_int, Register the_heap_number, Register scratch, Register scratch2)
 
- Public Member Functions inherited from v8::internal::PlatformCodeStub
virtual Handle< CodeGenerateCode () OVERRIDE
 
virtual Code::Kind GetCodeKind () const
 

Static Public Member Functions

static void GenerateFixedRegStubsAheadOfTime (Isolate *isolate)
 
static void GenerateFixedRegStubsAheadOfTime (Isolate *isolate)
 
static void GenerateFixedRegStubsAheadOfTime (Isolate *isolate)
 

Private Member Functions

Register the_int () const
 
Register the_heap_number () const
 
Register scratch () const
 
 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR ()
 
 DEFINE_PLATFORM_CODE_STUB (WriteInt32ToHeapNumber, PlatformCodeStub)
 
Register the_int () const
 
Register the_heap_number () const
 
Register scratch () const
 
Register sign () const
 
 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR ()
 
 DEFINE_PLATFORM_CODE_STUB (WriteInt32ToHeapNumber, PlatformCodeStub)
 
void Generate (MacroAssembler *masm)
 
Register the_int () const
 
Register the_heap_number () const
 
Register scratch () const
 
Register sign () const
 
 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR ()
 
 DEFINE_CODE_STUB (WriteInt32ToHeapNumber, PlatformCodeStub)
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::PlatformCodeStub
 PlatformCodeStub (Isolate *isolate)
 
 DEFINE_CODE_STUB_BASE (PlatformCodeStub, CodeStub)
 

Detailed Description

Definition at line 52 of file code-stubs-arm.h.

Constructor & Destructor Documentation

◆ WriteInt32ToHeapNumberStub() [1/3]

v8::internal::WriteInt32ToHeapNumberStub::WriteInt32ToHeapNumberStub ( Isolate isolate,
Register  the_int,
Register  the_heap_number,
Register  scratch 
)
inline

Definition at line 54 of file code-stubs-arm.h.

References v8::internal::Register::code(), v8::internal::BitFieldBase< T, shift, size, U >::encode(), scratch(), the_heap_number(), and the_int().

+ Here is the call graph for this function:

◆ WriteInt32ToHeapNumberStub() [2/3]

v8::internal::WriteInt32ToHeapNumberStub::WriteInt32ToHeapNumberStub ( Isolate isolate,
Register  the_int,
Register  the_heap_number,
Register  scratch,
Register  scratch2 
)
inline

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

References v8::internal::Register::code(), DCHECK, v8::internal::BitFieldBase< T, shift, size, U >::encode(), v8::internal::BitFieldBase< T, shift, size, U >::is_valid(), scratch(), the_heap_number(), and the_int().

+ Here is the call graph for this function:

◆ WriteInt32ToHeapNumberStub() [3/3]

v8::internal::WriteInt32ToHeapNumberStub::WriteInt32ToHeapNumberStub ( Isolate isolate,
Register  the_int,
Register  the_heap_number,
Register  scratch,
Register  scratch2 
)
inline

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

References v8::internal::Register::code(), DCHECK, v8::internal::BitFieldBase< T, shift, size, U >::encode(), v8::internal::BitFieldBase< T, shift, size, U >::is_valid(), scratch(), the_heap_number(), and the_int().

+ Here is the call graph for this function:

Member Function Documentation

◆ DEFINE_CODE_STUB()

v8::internal::WriteInt32ToHeapNumberStub::DEFINE_CODE_STUB ( WriteInt32ToHeapNumber  ,
PlatformCodeStub   
)
private

◆ DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR() [1/3]

v8::internal::WriteInt32ToHeapNumberStub::DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR ( )
private

◆ DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR() [2/3]

v8::internal::WriteInt32ToHeapNumberStub::DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR ( )
private

◆ DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR() [3/3]

v8::internal::WriteInt32ToHeapNumberStub::DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR ( )
private

◆ DEFINE_PLATFORM_CODE_STUB() [1/2]

v8::internal::WriteInt32ToHeapNumberStub::DEFINE_PLATFORM_CODE_STUB ( WriteInt32ToHeapNumber  ,
PlatformCodeStub   
)
private

◆ DEFINE_PLATFORM_CODE_STUB() [2/2]

v8::internal::WriteInt32ToHeapNumberStub::DEFINE_PLATFORM_CODE_STUB ( WriteInt32ToHeapNumber  ,
PlatformCodeStub   
)
private

◆ Generate()

void v8::internal::WriteInt32ToHeapNumberStub::Generate ( MacroAssembler masm)
privatevirtual

◆ GenerateFixedRegStubsAheadOfTime() [1/3]

static void v8::internal::WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime ( Isolate isolate)
static

◆ GenerateFixedRegStubsAheadOfTime() [2/3]

static void v8::internal::WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime ( Isolate isolate)
static

◆ GenerateFixedRegStubsAheadOfTime() [3/3]

static void v8::internal::WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime ( Isolate isolate)
static

◆ scratch() [1/3]

Register v8::internal::WriteInt32ToHeapNumberStub::scratch ( ) const
inlineprivate

Definition at line 73 of file code-stubs-arm.h.

73  {
75  }
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 WriteInt32ToHeapNumberStub().

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

◆ scratch() [2/3]

Register v8::internal::WriteInt32ToHeapNumberStub::scratch ( ) const
inlineprivate

Definition at line 106 of file code-stubs-mips.h.

106  {
108  }

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

+ Here is the call graph for this function:

◆ scratch() [3/3]

Register v8::internal::WriteInt32ToHeapNumberStub::scratch ( ) const
inlineprivate

Definition at line 108 of file code-stubs-mips64.h.

108  {
110  }

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

+ Here is the call graph for this function:

◆ sign() [1/2]

Register v8::internal::WriteInt32ToHeapNumberStub::sign ( ) const
inlineprivate

Definition at line 110 of file code-stubs-mips.h.

110  {
111  return Register::from_code(SignRegisterBits::decode(minor_key_));
112  }

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

+ Here is the call graph for this function:

◆ sign() [2/2]

Register v8::internal::WriteInt32ToHeapNumberStub::sign ( ) const
inlineprivate

Definition at line 112 of file code-stubs-mips64.h.

112  {
113  return Register::from_code(SignRegisterBits::decode(minor_key_));
114  }

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

+ Here is the call graph for this function:

◆ the_heap_number() [1/3]

Register v8::internal::WriteInt32ToHeapNumberStub::the_heap_number ( ) const
inlineprivate

Definition at line 69 of file code-stubs-arm.h.

69  {
71  }

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

Referenced by WriteInt32ToHeapNumberStub().

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

◆ the_heap_number() [2/3]

Register v8::internal::WriteInt32ToHeapNumberStub::the_heap_number ( ) const
inlineprivate

Definition at line 102 of file code-stubs-mips.h.

102  {
104  }

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

+ Here is the call graph for this function:

◆ the_heap_number() [3/3]

Register v8::internal::WriteInt32ToHeapNumberStub::the_heap_number ( ) const
inlineprivate

Definition at line 104 of file code-stubs-mips64.h.

104  {
106  }

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

+ Here is the call graph for this function:

◆ the_int() [1/3]

Register v8::internal::WriteInt32ToHeapNumberStub::the_int ( ) const
inlineprivate

Definition at line 65 of file code-stubs-arm.h.

65  {
66  return Register::from_code(IntRegisterBits::decode(minor_key_));
67  }

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

Referenced by WriteInt32ToHeapNumberStub().

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

◆ the_int() [2/3]

Register v8::internal::WriteInt32ToHeapNumberStub::the_int ( ) const
inlineprivate

Definition at line 98 of file code-stubs-mips.h.

98  {
99  return Register::from_code(IntRegisterBits::decode(minor_key_));
100  }

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

+ Here is the call graph for this function:

◆ the_int() [3/3]

Register v8::internal::WriteInt32ToHeapNumberStub::the_int ( ) const
inlineprivate

Definition at line 100 of file code-stubs-mips64.h.

100  {
101  return Register::from_code(IntRegisterBits::decode(minor_key_));
102  }

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

+ Here is the call graph for this function:

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