Index: src/IceCfgNode.cpp |
diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp |
index 22915b2f37bbe9f72ca06d10bfba912302543a0a..61e53bedaad852daed4ab9ee18bb317af24f3000 100644 |
--- a/src/IceCfgNode.cpp |
+++ b/src/IceCfgNode.cpp |
@@ -191,6 +191,15 @@ void CfgNode::doAddressOpt() { |
} |
} |
+void CfgNode::doNopInsertion() { |
+ TargetLowering *Target = Func->getTarget(); |
+ LoweringContext &Context = Target->getContext(); |
+ Context.init(this); |
+ while (!Context.atEnd()) { |
+ Target->doNopInsertion(); |
+ } |
+} |
+ |
// Drives the target lowering. Passes the current instruction and the |
// next non-deleted instruction for target lowering. |
void CfgNode::genCode() { |