Chromium Code Reviews| Index: lib/Analysis/NaCl/PNaClABITypeChecker.cpp |
| diff --git a/lib/Analysis/NaCl/PNaClABITypeChecker.cpp b/lib/Analysis/NaCl/PNaClABITypeChecker.cpp |
| index 9afa04d5b53fe1a922b22edbd7a852e2da7bc0ed..22aeeeff60bfc492a60d1266c71b590420295c46 100644 |
| --- a/lib/Analysis/NaCl/PNaClABITypeChecker.cpp |
| +++ b/lib/Analysis/NaCl/PNaClABITypeChecker.cpp |
| @@ -53,10 +53,10 @@ bool PNaClABITypeChecker::isValidType(const Type *Ty) { |
| // integer sizes. |
| // TODO(mseaborn): Re-enable the check when it passes. |
| // See https://code.google.com/p/nativeclient/issues/detail?id=3360 |
| - Valid = true; |
| - // Width = cast<const IntegerType>(Ty)->getBitWidth(); |
| - // Valid = (Width == 1 || Width == 8 || Width == 16 || |
| - // Width == 32 || Width == 64); |
| + //Valid = true; |
|
Mark Seaborn
2013/05/06 17:04:06
You'll need to undo this before committing since t
|
| + Width = cast<const IntegerType>(Ty)->getBitWidth(); |
| + Valid = (Width == 1 || Width == 8 || Width == 16 || |
| + Width == 32 || Width == 64); |
| break; |
| case Type::FunctionTyID: |
| case Type::StructTyID: |