summaryrefslogtreecommitdiff
path: root/source/opt/remove_duplicates_pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/opt/remove_duplicates_pass.h')
-rw-r--r--source/opt/remove_duplicates_pass.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/opt/remove_duplicates_pass.h b/source/opt/remove_duplicates_pass.h
index 3781554d..b252fdc2 100644
--- a/source/opt/remove_duplicates_pass.h
+++ b/source/opt/remove_duplicates_pass.h
@@ -27,7 +27,7 @@ namespace spvtools {
namespace opt {
using IdDecorationsList =
- std::unordered_map<uint32_t, std::vector<opt::Instruction*>>;
+ std::unordered_map<uint32_t, std::vector<Instruction*>>;
// See optimizer.hpp for documentation.
class RemoveDuplicatesPass : public Pass {
@@ -38,9 +38,8 @@ class RemoveDuplicatesPass : public Pass {
// TODO(pierremoreau): Move this function somewhere else (e.g. pass.h or
// within the type manager)
// Returns whether two types are equal, and have the same decorations.
- static bool AreTypesEqual(const opt::Instruction& inst1,
- const opt::Instruction& inst2,
- opt::IRContext* context);
+ static bool AreTypesEqual(const Instruction& inst1, const Instruction& inst2,
+ IRContext* context);
private:
// Remove duplicate capabilities from the module