}
break;
default:
- cout << "ERROR: Constant unimp for type: " << C->getType() << "\n";
+ std::cout << "ERROR: Constant unimp for type: " << C->getType() << "\n";
}
return Result;
}
Ptr->Untyped[7] = (Val.ULongVal >> 56) & 255;
break;
default:
- cout << "Cannot store value of type " << Ty << "!\n";
+ std::cout << "Cannot store value of type " << Ty << "!\n";
}
} else {
switch (Ty->getPrimitiveID()) {
Ptr->Untyped[0] = (Val.ULongVal >> 56) & 255;
break;
default:
- cout << "Cannot store value of type " << Ty << "!\n";
+ std::cout << "Cannot store value of type " << Ty << "!\n";
}
}
}
switch (Init->getType()->getPrimitiveID()) {
case Type::ArrayTyID: {
const ConstantArray *CPA = cast<ConstantArray>(Init);
- const vector<Use> &Val = CPA->getValues();
+ const std::vector<Use> &Val = CPA->getValues();
unsigned ElementSize =
getTargetData().getTypeSize(cast<ArrayType>(CPA->getType())->getElementType());
for (unsigned i = 0; i < Val.size(); ++i)
const ConstantStruct *CPS = cast<ConstantStruct>(Init);
const StructLayout *SL =
getTargetData().getStructLayout(cast<StructType>(CPS->getType()));
- const vector<Use> &Val = CPS->getValues();
+ const std::vector<Use> &Val = CPS->getValues();
for (unsigned i = 0; i < Val.size(); ++i)
InitializeMemory(cast<Constant>(Val[i].get()),
(char*)Addr+SL->MemberOffsets[i]);
" llvm interpreter & dynamic compiler\n");
// Load the bytecode...
- string ErrorMsg;
+ std::string ErrorMsg;
Module *M = ParseBytecodeFile(InputFile, &ErrorMsg);
if (M == 0) {
- cout << "Error parsing '" << InputFile << "': "
- << ErrorMsg << "\n";
+ std::cout << "Error parsing '" << InputFile << "': "
+ << ErrorMsg << "\n";
exit(1);
}
#if 0
// Link in the runtime library for LLI...
- string RuntimeLib = getCurrentExecutablePath();
+ std::string RuntimeLib = getCurrentExecutablePath();
if (!RuntimeLib.empty()) RuntimeLib += "/";
RuntimeLib += "RuntimeLib.bc";