aboutsummaryrefslogtreecommitdiff
path: root/source/opt/function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/opt/function.cpp')
-rw-r--r--source/opt/function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/opt/function.cpp b/source/opt/function.cpp
index 6c7c949f..bb51df3f 100644
--- a/source/opt/function.cpp
+++ b/source/opt/function.cpp
@@ -264,7 +264,7 @@ std::string Function::PrettyPrint(uint32_t options) const {
std::ostringstream str;
ForEachInst([&str, options](const Instruction* inst) {
str << inst->PrettyPrint(options);
- if (inst->opcode() != spv::Op::OpFunctionEnd) {
+ if (inst->opcode() != SpvOpFunctionEnd) {
str << std::endl;
}
});