/// do nothing and return false.
bool EmitSpecialLLVMGlobal(const GlobalVariable *GV);
+ public:
/// EmitAlignment - Emit an alignment directive to the specified power of
/// two boundary. For example, if you pass in 3 here, you will get an 8
/// byte alignment. If a global value is specified, and if that global has
/// an explicit alignment requested, it will override the alignment request.
void EmitAlignment(unsigned NumBits, const GlobalValue *GV = 0) const;
+ protected:
/// EmitZeros - Emit a block of zeros.
///
void EmitZeros(uint64_t NumZeros) const;
O << "\n";
}
- /// EmitAlign - Print a align directive.
- ///
- void EmitAlign(unsigned Alignment) const {
- O << TAI->getAlignDirective() << Alignment << "\n";
- }
-
/// EmitULEB128Bytes - Emit an assembler byte data directive to compose an
/// unsigned leb128 value.
void EmitULEB128Bytes(unsigned Value) const {
EmitFrameMoves(NULL, 0, Moves);
for (unsigned i = 0, N = Moves.size(); i < N; ++i) delete Moves[i];
- EmitAlign(2);
+ Asm->EmitAlignment(2);
EmitLabel("frame_common_end", 0);
O << "\n";
EmitFrameMoves("func_begin", SubprogramCount, Moves);
- EmitAlign(2);
+ Asm->EmitAlignment(2);
EmitLabel("frame_end", SubprogramCount);
O << "\n";