GCC 3.1 changes

llvm-svn: 3074
This commit is contained in:
Chris Lattner 2002-07-25 06:17:42 +00:00
parent 3091e11726
commit e680139c34
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ static double HexToFP(const char *Buffer) {
// If AllowNull is set to true, the return value of the function points to the
// last character of the string in memory.
//
char *UnEscapeLexed(char *Buffer, bool AllowNull = false) {
char *UnEscapeLexed(char *Buffer, bool AllowNull) {
char *BOut = Buffer;
for (char *BIn = Buffer; *BIn; ) {
if (BIn[0] == '\\' && isxdigit(BIn[1]) && isxdigit(BIn[2])) {

View File

@ -387,7 +387,7 @@ static Value *getVal(const Type *Ty, const ValID &D) {
// defs now...
//
static void ResolveDefinitions(vector<ValueList> &LateResolvers,
vector<ValueList> *FutureLateResolvers = 0) {
vector<ValueList> *FutureLateResolvers) {
// Loop over LateResolveDefs fixing up stuff that couldn't be resolved
for (unsigned ty = 0; ty < LateResolvers.size(); ty++) {
while (!LateResolvers[ty].empty()) {