Revert r114340 (improvements in Darwin function prologue/epilogue), as it broke
[oota-llvm.git] / utils / TableGen / CodeEmitterGen.cpp
index a7b96564799aab97929ad0851f7681b6d1ae0b3b..fbe9947b096ebe965ed2da7c5f5eb4dc3a8a3a83 100644 (file)
 #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) {