summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit9fd73b8a7f13462d3ca4151344ba4f4751ef9deb (patch)
tree7e1be117918a14f2d657f880e2b1af84fd47d67c /llvm/lib
parentb3030c42e031182fbe94541a989cdc60816ab1b8 (diff)
downloadbcm5719-llvm-9fd73b8a7f13462d3ca4151344ba4f4751ef9deb.tar.gz
bcm5719-llvm-9fd73b8a7f13462d3ca4151344ba4f4751ef9deb.zip
Match MachineCodeEmitter changes.
llvm-svn: 31787
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/ELFWriter.cpp2
-rw-r--r--llvm/lib/CodeGen/MachOWriter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp
index 5c58dd4fd7a..1c97f5e98a1 100644
--- a/llvm/lib/CodeGen/ELFWriter.cpp
+++ b/llvm/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/llvm/lib/CodeGen/MachOWriter.cpp b/llvm/lib/CodeGen/MachOWriter.cpp
index be21f5ce429..7c0855a5e13 100644
--- a/llvm/lib/CodeGen/MachOWriter.cpp
+++ b/llvm/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();
}
OpenPOWER on IntegriCloud