projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add method for checking if a path is a symbolic link.
[oota-llvm.git]
/
include
/
llvm
/
Type.h
diff --git
a/include/llvm/Type.h
b/include/llvm/Type.h
index b493879e95725d2ead7cd12d04f6efa177e24ffa..0939d67265b096222fb004d10f9ada199ba79ee8 100644
(file)
--- a/
include/llvm/Type.h
+++ b/
include/llvm/Type.h
@@
-313,7
+313,8
@@
public:
///
bool isSized() const {
// If it's a primitive, it is always sized.
///
bool isSized() const {
// If it's a primitive, it is always sized.
- if (ID == IntegerTyID || isFloatingPointTy() || ID == PointerTyID)
+ if (ID == IntegerTyID || isFloatingPointTy() || ID == PointerTyID ||
+ ID == X86_MMXTyID)
return true;
// If it is not something that can have a size (e.g. a function or label),
// it doesn't have a size.
return true;
// If it is not something that can have a size (e.g. a function or label),
// it doesn't have a size.