projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.
[oota-llvm.git]
/
lib
/
VMCore
/
Type.cpp
diff --git
a/lib/VMCore/Type.cpp
b/lib/VMCore/Type.cpp
index c94e911f403b47b34fc96b4ff67daf52b2ceb212..9ceed26e60287c027c7f398f5a448ff9956f3328 100644
(file)
--- a/
lib/VMCore/Type.cpp
+++ b/
lib/VMCore/Type.cpp
@@
-265,10
+265,10
@@
const Type *Type::getForwardedTypeInternal() const {
}
void Type::refineAbstractType(const DerivedType *OldTy, const Type *NewTy) {
}
void Type::refineAbstractType(const DerivedType *OldTy, const Type *NewTy) {
-
LLVM_UNREACHABLE
("Attempting to refine a derived type!");
+
llvm_unreachable
("Attempting to refine a derived type!");
}
void Type::typeBecameConcrete(const DerivedType *AbsTy) {
}
void Type::typeBecameConcrete(const DerivedType *AbsTy) {
-
LLVM_UNREACHABLE
("DerivedType is already a concrete type!");
+
llvm_unreachable
("DerivedType is already a concrete type!");
}
}
@@
-634,7
+634,7
@@
static bool TypesEqual(const Type *Ty, const Type *Ty2,
}
return true;
} else {
}
return true;
} else {
-
LLVM_UNREACHABLE
("Unknown derived type!");
+
llvm_unreachable
("Unknown derived type!");
return false;
}
}
return false;
}
}