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:
Chris Lattner committed 2002-01-20 22:54:45 +00:00
1 parent 13c4659220
commit 697954c15d
230 files changed
+2373 -2445

No files matched your search

+2 -2
View File
@@ -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!");