summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-11-16 20:04:04 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-11-16 20:04:04 +0000
commitce9a576f298b2159c5f9f39275214870e38ffbef (patch)
tree182a0bb045e69a39617bb6e2705d32e3177e6a5a /lib
parenta8c3ff456aedbc55ac5ccd853e721812d0369ea0 (diff)
downloadllvm-ce9a576f298b2159c5f9f39275214870e38ffbef.tar.gz
llvm-ce9a576f298b2159c5f9f39275214870e38ffbef.tar.bz2
llvm-ce9a576f298b2159c5f9f39275214870e38ffbef.tar.xz
Match MachineCodeEmitter changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/ELFWriter.cpp2
-rw-r--r--lib/CodeGen/MachOWriter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp
index 5c58dd4fd7..1c97f5e98a 100644
--- a/lib/CodeGen/ELFWriter.cpp
+++ b/lib/CodeGen/ELFWriter.cpp
@@ -81,7 +81,7 @@ namespace llvm {
}
/// JIT SPECIFIC FUNCTIONS - DO NOT IMPLEMENT THESE HERE!
- void startFunctionStub(unsigned StubSize) {
+ void startFunctionStub(unsigned StubSize, unsigned Alignment = 1) {
assert(0 && "JIT specific function called!");
abort();
}
diff --git a/lib/CodeGen/MachOWriter.cpp b/lib/CodeGen/MachOWriter.cpp
index be21f5ce42..7c0855a5e1 100644
--- a/lib/CodeGen/MachOWriter.cpp
+++ b/lib/CodeGen/MachOWriter.cpp
@@ -100,7 +100,7 @@ namespace llvm {
}
/// JIT SPECIFIC FUNCTIONS - DO NOT IMPLEMENT THESE HERE!
- void startFunctionStub(unsigned StubSize) {
+ void startFunctionStub(unsigned StubSize, unsigned Alignment = 1) {
assert(0 && "JIT specific function called!");
abort();
}