From a712959f1e373a33b48042b5934e288a243d5954 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Sun, 19 Jan 2020 16:39:42 -0300 Subject: [PATCH] atomic: Fix typo --- src/instructions/atomic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instructions/atomic.cpp b/src/instructions/atomic.cpp index a11f0f8..146a2a6 100644 --- a/src/instructions/atomic.cpp +++ b/src/instructions/atomic.cpp @@ -41,7 +41,7 @@ Id Module::OpAtomicCompareExchange(Id result_type, Id pointer, Id memory, Id equ auto op{std::make_unique(spv::Op::OpAtomicCompareExchange, bound++, result_type)}; op->Add(pointer); op->Add(memory); - op->Add(equal)); + op->Add(equal); op->Add(unequal); op->Add(value); op->Add(comparator);