X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FType.h;h=0939d67265b096222fb004d10f9ada199ba79ee8;hb=9e07a149b079a28916cdd9d70849cd42344b54d0;hp=e6a05721c7b96f4a4b14ce9260b25fb1e3ca7f27;hpb=e37c9e59b4cb5b9b5866496a93ebbb4eda6d0620;p=oota-llvm.git diff --git a/include/llvm/Type.h b/include/llvm/Type.h index e6a05721c7b..0939d67265b 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -12,7 +12,6 @@ #include "llvm/AbstractTypeUser.h" #include "llvm/Support/Casting.h" -#include "llvm/System/DataTypes.h" #include "llvm/ADT/GraphTraits.h" #include #include @@ -314,7 +313,8 @@ public: /// 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.