Andreas Huber | c9410c7 | 2016-07-28 12:18:40 -0700 | [diff] [blame^] | 1 | #include "VectorType.h" |
2 | |||||
3 | #include "Formatter.h" | ||||
4 | |||||
5 | namespace android { | ||||
6 | |||||
7 | VectorType::VectorType(Type *elementType) | ||||
8 | : mElementType(elementType) { | ||||
9 | } | ||||
10 | |||||
11 | void VectorType::dump(Formatter &out) const { | ||||
12 | out<< "vec<"; | ||||
13 | mElementType->dump(out); | ||||
14 | out << ">"; | ||||
15 | } | ||||
16 | |||||
17 | } // namespace android | ||||
18 |