mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Changes to build successfully with GCC 3.02
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
13c4659220
commit
697954c15d
230 files changed
+2373
-2445
No files matched your search
@@ -18,7 +18,7 @@
|
||||
//
|
||||
template class ValueHolder<Instruction, BasicBlock, Method>;
|
||||
|
||||
BasicBlock::BasicBlock(const string &name, Method *Parent)
|
||||
BasicBlock::BasicBlock(const std::string &name, Method *Parent)
|
||||
: Value(Type::LabelTy, Value::BasicBlockVal, name), InstList(this, 0),
|
||||
machineInstrVec(new MachineCodeForBasicBlock) {
|
||||
if (Parent)
|
||||
@@ -32,7 +32,7 @@ BasicBlock::~BasicBlock() {
|
||||
}
|
||||
|
||||
// Specialize setName to take care of symbol table majik
|
||||
void BasicBlock::setName(const string &name, SymbolTable *ST) {
|
||||
void BasicBlock::setName(const std::string &name, SymbolTable *ST) {
|
||||
Method *P;
|
||||
assert((ST == 0 || (!getParent() || ST == getParent()->getSymbolTable())) &&
|
||||
"Invalid symtab argument!");
|
||||
|
||||
Reference in new issue
Block a user