diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-11-02 17:35:25 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-11-02 17:35:25 +0000 |
commit | ab3d00e5350fd4c097e2a5b077da7584692029a7 (patch) | |
tree | 192b087ccc06b70ce5032173db5861f1bc2404e4 /utils/TableGen/CodeEmitterGen.cpp | |
parent | 3b5aec67ef174c74ff6620ddd71ad3b0cb39030c (diff) |
Revert r114340 (improvements in Darwin function prologue/epilogue), as it broke
assumptions about stack layout. Specifically, LR must be saved next to FP.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeEmitterGen.cpp')
-rw-r--r-- | utils/TableGen/CodeEmitterGen.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp index a7b9656479..fbe9947b09 100644 --- a/utils/TableGen/CodeEmitterGen.cpp +++ b/utils/TableGen/CodeEmitterGen.cpp @@ -17,9 +17,15 @@ #include "CodeGenTarget.h" #include "Record.h" #include "llvm/ADT/StringExtras.h" +#include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" using namespace llvm; +static cl::opt<bool> +MCEmitter("mc-code-emitter", + cl::desc("Generate CodeEmitter for use with the MC library."), + cl::init(false)); + void CodeEmitterGen::reverseBits(std::vector<Record*> &Insts) { for (std::vector<Record*>::iterator I = Insts.begin(), E = Insts.end(); I != E; ++I) { |