| Index: src/IceTargetLoweringX8632.h
|
| diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h
|
| index ebe6ba91752814786142633131a3c28bab265392..499790e5e90bc2ea9489fe3cb9134762db924edd 100644
|
| --- a/src/IceTargetLoweringX8632.h
|
| +++ b/src/IceTargetLoweringX8632.h
|
| @@ -104,6 +104,7 @@ protected:
|
| virtual void lowerUnreachable(const InstUnreachable *Inst);
|
| virtual void doAddressOptLoad();
|
| virtual void doAddressOptStore();
|
| + virtual void randomlyInsertNop(float Probability);
|
|
|
| // Naive lowering of cmpxchg.
|
| void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected,
|
| @@ -327,6 +328,9 @@ protected:
|
| void _neg(Variable *SrcDest) {
|
| Context.insert(InstX8632Neg::create(Func, SrcDest));
|
| }
|
| + void _nop(SizeT Variant) {
|
| + Context.insert(InstX8632Nop::create(Func, Variant));
|
| + }
|
| void _or(Variable *Dest, Operand *Src0) {
|
| Context.insert(InstX8632Or::create(Func, Dest, Src0));
|
| }
|
|
|