diff options
-rw-r--r-- | polly/include/polly/ScopInfo.h | 2 | ||||
-rw-r--r-- | polly/lib/Transform/ForwardOpTree.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/polly/include/polly/ScopInfo.h b/polly/include/polly/ScopInfo.h index 21110bf10b2..e504444a4c5 100644 --- a/polly/include/polly/ScopInfo.h +++ b/polly/include/polly/ScopInfo.h @@ -1590,7 +1590,7 @@ public: } /// Insert an instruction before all other instructions in this statement. - void prependInstrunction(Instruction *Inst) { + void prependInstruction(Instruction *Inst) { assert(isBlockStmt() && "Only block statements support instruction lists"); Instructions.insert(Instructions.begin(), Inst); } diff --git a/polly/lib/Transform/ForwardOpTree.cpp b/polly/lib/Transform/ForwardOpTree.cpp index 3ba97a6d8a5..a99b513ab48 100644 --- a/polly/lib/Transform/ForwardOpTree.cpp +++ b/polly/lib/Transform/ForwardOpTree.cpp @@ -169,7 +169,7 @@ private: // instruction using them. // TODO: The operand tree is not really a tree, but a DAG. We should be // able to handle DAGs without duplication. - TargetStmt->prependInstrunction(Inst); + TargetStmt->prependInstruction(Inst); NumInstructionsCopied++; TotalInstructionsCopied++; } |