| Index: src/IceCfgNode.cpp
|
| diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp
|
| index 76dc097d48e6cd70b7d0ccaf289ed3a763a1a636..6926722d576d6f9488fa8c13f875918ba2de5ea7 100644
|
| --- a/src/IceCfgNode.cpp
|
| +++ b/src/IceCfgNode.cpp
|
| @@ -496,7 +496,7 @@ void CfgNode::doAddressOpt() {
|
| }
|
| }
|
|
|
| -void CfgNode::doNopInsertion() {
|
| +void CfgNode::doNopInsertion(RandomNumberGenerator &RNG) {
|
| TargetLowering *Target = Func->getTarget();
|
| LoweringContext &Context = Target->getContext();
|
| Context.init(this);
|
| @@ -510,7 +510,7 @@ void CfgNode::doNopInsertion() {
|
| PauseNopInsertion = false;
|
| }
|
| if (!PauseNopInsertion)
|
| - Target->doNopInsertion();
|
| + Target->doNopInsertion(RNG);
|
| // Ensure Cur=Next, so that the nops are inserted before the current
|
| // instruction rather than after.
|
| Context.advanceCur();
|
|
|