diff options
Diffstat (limited to 'test/opt/pass_manager_test.cpp')
-rw-r--r-- | test/opt/pass_manager_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/opt/pass_manager_test.cpp b/test/opt/pass_manager_test.cpp index 4f36d5b26..ec11069b6 100644 --- a/test/opt/pass_manager_test.cpp +++ b/test/opt/pass_manager_test.cpp @@ -144,8 +144,8 @@ class AppendTypeVoidInstPass : public Pass { const char* name() const override { return "AppendTypeVoidInstPass"; } Status Process() override { - auto inst = MakeUnique<Instruction>(context(), SpvOpTypeVoid, 0, result_id_, - std::vector<Operand>{}); + auto inst = MakeUnique<Instruction>(context(), spv::Op::OpTypeVoid, 0, + result_id_, std::vector<Operand>{}); context()->AddType(std::move(inst)); return Status::SuccessWithChange; } |