From: Evan Cheng Date: Thu, 16 Nov 2006 20:04:04 +0000 (+0000) Subject: Match MachineCodeEmitter changes. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ce9a576f298b2159c5f9f39275214870e38ffbef;p=oota-llvm.git Match MachineCodeEmitter changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31787 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp index 5c58dd4fd7a..1c97f5e98a1 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 be21f5ce429..7c0855a5e13 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(); }