aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/MachineCodeEmitter.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-11-16 20:04:54 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-11-16 20:04:54 +0000
commit9a1e9b91407f4752ff3de392d60a6cf3f1dcc37d (patch)
tree231f7490bf4c906a611a4cd2495b124b0aed6e60 /include/llvm/CodeGen/MachineCodeEmitter.h
parentce9a576f298b2159c5f9f39275214870e38ffbef (diff)
downloadexternal_llvm-9a1e9b91407f4752ff3de392d60a6cf3f1dcc37d.tar.gz
external_llvm-9a1e9b91407f4752ff3de392d60a6cf3f1dcc37d.tar.bz2
external_llvm-9a1e9b91407f4752ff3de392d60a6cf3f1dcc37d.zip
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
Diffstat (limited to 'include/llvm/CodeGen/MachineCodeEmitter.h')
-rw-r--r--include/llvm/CodeGen/MachineCodeEmitter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineCodeEmitter.h b/include/llvm/CodeGen/MachineCodeEmitter.h
index 758a167309..018c5e5a3a 100644
--- a/include/llvm/CodeGen/MachineCodeEmitter.h
+++ b/include/llvm/CodeGen/MachineCodeEmitter.h
@@ -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.