aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h
diff options
context:
space:
mode:
authorGuochun Shi <gshi1@uiuc.edu>2003-06-02 17:48:56 +0000
committerGuochun Shi <gshi1@uiuc.edu>2003-06-02 17:48:56 +0000
commit8dfdb0f68ed3bdfb4aa23e443023100047cd4f7a (patch)
tree3c6480bbba59ace656c80f83f463cb4d8eed09b8 /llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h
parent93c8f1490667e2ba8210e95b37edf76f07ce342a (diff)
downloadllvm-8dfdb0f68ed3bdfb4aa23e443023100047cd4f7a.zip
llvm-8dfdb0f68ed3bdfb4aa23e443023100047cd4f7a.tar.gz
llvm-8dfdb0f68ed3bdfb4aa23e443023100047cd4f7a.tar.bz2
compiled with the new SchedGraphCommon
llvm-svn: 6545
Diffstat (limited to 'llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h')
-rw-r--r--llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h b/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h
index 782476e..5e1e53e 100644
--- a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h
+++ b/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h
@@ -65,7 +65,7 @@ public:
graph(_graph), target(graph.getTarget()), oNodes(graph.getONodes())
{
II = graph.getMII();
- bb = (BasicBlock *) graph.getBasicBlocks()[0];
+ bb = graph.getBasicBlock();
instrScheduling();
};