Allow target to specify alignment for function stub.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31788 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2006-11-16 20:04:54 +00:00
parent ce9a576f29
commit 9a1e9b9140
2 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ public:
/// have constant pools, the can only use the other emitByte*/emitWord*
/// methods.
///
virtual void startFunctionStub(unsigned StubSize) = 0;
virtual void startFunctionStub(unsigned StubSize, unsigned Alignment = 1) = 0;
/// finishFunctionStub - This callback is invoked to terminate a function
/// stub.