Chromium Code Reviews| Index: src/IceTypes.h |
| diff --git a/src/IceTypes.h b/src/IceTypes.h |
| index 662a31a48320b170cd5dc9ca890d9f0609489648..f3ad6728e529e5c339936cf0f9db8772aaca6b39 100644 |
| --- a/src/IceTypes.h |
| +++ b/src/IceTypes.h |
| @@ -53,6 +53,8 @@ size_t typeNumElements(Type Ty); |
| Type typeElementType(Type Ty); |
| const char *typeString(Type Ty); |
| +inline Type getPointerType() { return IceType_i32; } |
| + |
| bool isVectorType(Type Ty); |
| bool isIntegerType(Type Ty); // scalar or vector |