| Index: src/IceTargetLoweringX86Base.h
|
| diff --git a/src/IceTargetLoweringX86Base.h b/src/IceTargetLoweringX86Base.h
|
| index 58de7217571b44e0d0898e176380e9962326a54b..a343104ebd36d1d1bf6ad6aebc4b693012d9412c 100644
|
| --- a/src/IceTargetLoweringX86Base.h
|
| +++ b/src/IceTargetLoweringX86Base.h
|
| @@ -268,18 +268,21 @@ protected:
|
| }
|
| void _br(typename Traits::Cond::BrCond Condition, CfgNode *TargetTrue,
|
| CfgNode *TargetFalse) {
|
| - Context.insert(
|
| - Traits::Insts::Br::create(Func, TargetTrue, TargetFalse, Condition));
|
| + Context.insert(Traits::Insts::Br::create(
|
| + Func, TargetTrue, TargetFalse, Condition, Traits::Insts::Br::Far));
|
| }
|
| void _br(CfgNode *Target) {
|
| - Context.insert(Traits::Insts::Br::create(Func, Target));
|
| + Context.insert(
|
| + Traits::Insts::Br::create(Func, Target, Traits::Insts::Br::Far));
|
| }
|
| void _br(typename Traits::Cond::BrCond Condition, CfgNode *Target) {
|
| - Context.insert(Traits::Insts::Br::create(Func, Target, Condition));
|
| + Context.insert(Traits::Insts::Br::create(Func, Target, Condition,
|
| + Traits::Insts::Br::Far));
|
| }
|
| void _br(typename Traits::Cond::BrCond Condition,
|
| - typename Traits::Insts::Label *Label) {
|
| - Context.insert(Traits::Insts::Br::create(Func, Label, Condition));
|
| + typename Traits::Insts::Label *Label,
|
| + typename Traits::Insts::Br::BrKind Kind = Traits::Insts::Br::Near) {
|
| + Context.insert(Traits::Insts::Br::create(Func, Label, Condition, Kind));
|
| }
|
| void _bsf(Variable *Dest, Operand *Src0) {
|
| Context.insert(Traits::Insts::Bsf::create(Func, Dest, Src0));
|
|
|