mirror of
https://github.com/FEX-Emu/vixl.git
synced 2024-11-27 08:40:54 +00:00
Introduce a default MacroAssembler constructor.
Change-Id: I3b1f892ce413301ded32887e58d4c0a277e877fe
This commit is contained in:
parent
1f708eecf2
commit
b0d7672aa9
@ -296,6 +296,21 @@ EmissionCheckScope::~EmissionCheckScope() {
|
||||
}
|
||||
|
||||
|
||||
MacroAssembler::MacroAssembler() :
|
||||
#ifdef VIXL_DEBUG
|
||||
allow_macro_instructions_(true),
|
||||
#endif
|
||||
allow_simulator_instructions_(VIXL_GENERATE_SIMULATOR_INSTRUCTIONS_VALUE),
|
||||
sp_(sp),
|
||||
tmp_list_(ip0, ip1),
|
||||
fptmp_list_(d31),
|
||||
literal_pool_(this),
|
||||
veneer_pool_(this),
|
||||
recommended_checkpoint_(Pool::kNoCheckpointRequired) {
|
||||
checkpoint_ = GetNextCheckPoint();
|
||||
}
|
||||
|
||||
|
||||
MacroAssembler::MacroAssembler(size_t capacity,
|
||||
PositionIndependentCodeOption pic)
|
||||
: Assembler(capacity, pic),
|
||||
|
@ -582,6 +582,7 @@ enum DiscardMoveMode { kDontDiscardForSameWReg, kDiscardForSameWReg };
|
||||
|
||||
class MacroAssembler : public Assembler {
|
||||
public:
|
||||
MacroAssembler();
|
||||
MacroAssembler(size_t capacity,
|
||||
PositionIndependentCodeOption pic = PositionIndependentCode);
|
||||
MacroAssembler(byte* buffer,
|
||||
|
Loading…
Reference in New Issue
Block a user