summaryrefslogtreecommitdiff
path: root/lib/SPIRV/libSPIRV/SPIRVType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SPIRV/libSPIRV/SPIRVType.cpp')
-rw-r--r--lib/SPIRV/libSPIRV/SPIRVType.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/SPIRV/libSPIRV/SPIRVType.cpp b/lib/SPIRV/libSPIRV/SPIRVType.cpp
index a8277f5..82cf0e0 100644
--- a/lib/SPIRV/libSPIRV/SPIRVType.cpp
+++ b/lib/SPIRV/libSPIRV/SPIRVType.cpp
@@ -1,4 +1,4 @@
-//===- SPIRVtype.cpp – Class to represent a SPIR-V type ----------*- C++ -*-===//
+//===- SPIRVtype.cpp – Class to represent a SPIR-V type ----------*- C++ -*-===//
//
// The LLVM/SPIRV Translator
//
@@ -70,7 +70,7 @@ SPIRVType::getBitWidth() const {
SPIRVWord
SPIRVType::getFloatBitWidth()const {
- assert(OpCode == OpTypeFloat && "Not an integer type");
+ assert(OpCode == OpTypeFloat && "Not a float type");
return static_cast<const SPIRVTypeFloat *const>(this)->getBitWidth();
}