diff --git a/src/writer/spirv/builder.cc b/src/writer/spirv/builder.cc index 1610463ce7..afe2bbc3ff 100644 --- a/src/writer/spirv/builder.cc +++ b/src/writer/spirv/builder.cc @@ -89,7 +89,7 @@ bool LastIsFallthrough(const ast::BlockStatement* stmts) { return !stmts->empty() && stmts->last()->Is(); } -// A terminator is anything which will case a SPIR-V terminator to be emitted. +// A terminator is anything which will cause a SPIR-V terminator to be emitted. // This means things like breaks, fallthroughs and continues which all emit an // OpBranch or return for the OpReturn emission. bool LastIsTerminator(const ast::BlockStatement* stmts) {