v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
macro-assembler-mips.h File Reference
#include "assembler.h"
#include "mips/assembler-mips.h"
#include "v8globals.h"
Include dependency graph for macro-assembler-mips.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  MacroAssembler
 
struct  MacroAssembler::Unresolved
 
class  CodePatcher
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define COND_TYPED_ARGS   Condition cond, Register r1, const Operand& r2
 
#define COND_ARGS   cond, r1, r2
 
#define DECLARE_NORELOC_PROTOTYPE(Name, target_type)
 
#define DECLARE_BRANCH_PROTOTYPES(Name)
 
#define COND_ARGS
 
#define DEFINE_INSTRUCTION(instr)
 
#define DEFINE_INSTRUCTION2(instr)
 
#define ACCESS_MASM(masm)   masm->
 

Enumerations

enum  AllocationFlags {
  NO_ALLOCATION_FLAGS = 0, TAG_OBJECT = 1 << 0, RESULT_CONTAINS_TOP = 1 << 1, SIZE_IN_WORDS = 1 << 2,
  NO_ALLOCATION_FLAGS = 0, TAG_OBJECT = 1 << 0, RESULT_CONTAINS_TOP = 1 << 1, NO_ALLOCATION_FLAGS = 0,
  TAG_OBJECT = 1 << 0, RESULT_CONTAINS_TOP = 1 << 1, SIZE_IN_WORDS = 1 << 2, NO_ALLOCATION_FLAGS = 0,
  TAG_OBJECT = 1 << 0, RESULT_CONTAINS_TOP = 1 << 1
}
 
enum  ObjectToDoubleFlags {
  NO_OBJECT_TO_DOUBLE_FLAGS = 0, OBJECT_NOT_SMI = 1 << 0, AVOID_NANS_AND_INFINITIES = 1 << 1, NO_OBJECT_TO_DOUBLE_FLAGS = 0,
  OBJECT_NOT_SMI = 1 << 0, AVOID_NANS_AND_INFINITIES = 1 << 1
}
 
enum  BranchDelaySlot { USE_DELAY_SLOT, PROTECT }
 
enum  LiFlags { OPTIMIZE_SIZE = 0, CONSTANT_SIZE = 1 }
 
enum  RememberedSetAction {
  EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET, EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET,
  EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET, EMIT_REMEMBERED_SET, OMIT_REMEMBERED_SET
}
 
enum  SmiCheck {
  INLINE_SMI_CHECK, OMIT_SMI_CHECK, INLINE_SMI_CHECK, OMIT_SMI_CHECK,
  INLINE_SMI_CHECK, OMIT_SMI_CHECK, INLINE_SMI_CHECK, OMIT_SMI_CHECK
}
 
enum  RAStatus { kRAHasNotBeenSaved, kRAHasBeenSaved }
 

Functions

bool AreAliased (Register r1, Register r2, Register r3, Register r4)
 
MemOperand ContextOperand (Register context, int index)
 
MemOperand GlobalObjectOperand ()
 
MemOperand FieldMemOperand (Register object, int offset)
 
MemOperand CFunctionArgumentOperand (int index)
 

Macro Definition Documentation

#define ACCESS_MASM (   masm)    masm->

Definition at line 1537 of file macro-assembler-mips.h.

#define COND_ARGS   cond, r1, r2

Definition at line 172 of file macro-assembler-mips.h.

#define COND_ARGS
Value:
Condition cond = al, Register rs = zero_reg, \
const Operand& rt = Operand(zero_reg), BranchDelaySlot bd = PROTECT

Definition at line 172 of file macro-assembler-mips.h.

#define COND_TYPED_ARGS   Condition cond, Register r1, const Operand& r2

Definition at line 141 of file macro-assembler-mips.h.

#define DECLARE_BRANCH_PROTOTYPES (   Name)
Value:
signed short int16_t
Definition: unicode.cc:45
#define DECLARE_NORELOC_PROTOTYPE(Name, target_type)

Definition at line 159 of file macro-assembler-mips.h.

#define DECLARE_NORELOC_PROTOTYPE (   Name,
  target_type 
)
Value:
void Name(target_type target, BranchDelaySlot bd = PROTECT); \
inline void Name(BranchDelaySlot bd, target_type target) { \
Name(target, bd); \
} \
void Name(target_type target, \
inline void Name(BranchDelaySlot bd, \
target_type target, \
Name(target, COND_ARGS, bd); \
}
#define COND_TYPED_ARGS
#define COND_ARGS

Definition at line 145 of file macro-assembler-mips.h.

#define DEFINE_INSTRUCTION (   instr)
Value:
void instr(Register rd, Register rs, const Operand& rt); \
void instr(Register rd, Register rs, Register rt) { \
instr(rd, rs, Operand(rt)); \
} \
void instr(Register rs, Register rt, int32_t j) { \
instr(rs, rt, Operand(j)); \
}
int int32_t
Definition: unicode.cc:47

Definition at line 549 of file macro-assembler-mips.h.

#define DEFINE_INSTRUCTION2 (   instr)
Value:
void instr(Register rs, const Operand& rt); \
void instr(Register rs, Register rt) { \
instr(rs, Operand(rt)); \
} \
void instr(Register rs, int32_t j) { \
instr(rs, Operand(j)); \
}
int int32_t
Definition: unicode.cc:47

Definition at line 558 of file macro-assembler-mips.h.