mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Method.h no longer includes BasicBlock.h
Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1746 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -171,7 +171,7 @@ void SlotCalculator::incorporateMethod(const Method *M) {
|
||||
SC_DEBUG("Inserting Instructions:\n");
|
||||
|
||||
// Add all of the instructions to the type planes...
|
||||
for_each(M->inst_begin(), M->inst_end(),
|
||||
for_each(inst_begin(M), inst_end(M),
|
||||
bind_obj(this, &SlotCalculator::insertValue));
|
||||
|
||||
if (M->hasSymbolTable() && !IgnoreNamedNodes) {
|
||||
|
Reference in New Issue
Block a user