Introduce a default MacroAssembler constructor.

Change-Id: I3b1f892ce413301ded32887e58d4c0a277e877fe
This commit is contained in:
Alexandre Rames 2016-06-09 13:53:29 +01:00
parent 1f708eecf2
commit b0d7672aa9
2 changed files with 16 additions and 0 deletions

View File

@ -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),

View File

@ -582,6 +582,7 @@ enum DiscardMoveMode { kDontDiscardForSameWReg, kDiscardForSameWReg };
class MacroAssembler : public Assembler {
public:
MacroAssembler();
MacroAssembler(size_t capacity,
PositionIndependentCodeOption pic = PositionIndependentCode);
MacroAssembler(byte* buffer,