X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FX86%2FX86TargetMachine.cpp;fp=lib%2FTarget%2FX86%2FX86TargetMachine.cpp;h=d318244e0f70710ac78b5e32b9eaad3adf36fd19;hb=39b3d70179e9ee0d8770aa08bc2400b5fdcc9aa1;hp=2e869eb7c3cd6eaf34b0d2b68d8cbae06f5ecab0;hpb=d741fc02b0fdabe236b978db24ae31c033392edf;p=oota-llvm.git diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index 2e869eb7c3c..d318244e0f7 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -110,13 +110,6 @@ X86TargetMachine::X86TargetMachine(const Target &T, const Triple &TT, OL), TLOF(createTLOF(getTargetTriple())), Subtarget(TT, CPU, FS, *this, Options.StackAlignmentOverride) { - // Windows stack unwinder gets confused when execution flow "falls through" - // after a call to 'noreturn' function. - // To prevent that, we emit a trap for 'unreachable' IR instructions. - // (which on X86, happens to be the 'ud2' instruction) - if (Subtarget.isTargetWin64()) - this->Options.TrapUnreachable = true; - // By default (and when -ffast-math is on), enable estimate codegen for // everything except scalar division. By default, use 1 refinement step for // all operations. Defaults may be overridden by using command-line options.