diff options
author | Lei Zhang <antiagainst@google.com> | 2016-09-12 12:39:44 -0400 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2016-09-20 16:40:17 -0400 |
commit | 2cbb2cce3ea1401bf8982c58d0d7dc8a8a0d4f33 (patch) | |
tree | 0255c7590a9f1ae1391da05bd8801509fa8e32b3 /source/opt/eliminate_dead_constant_pass.h | |
parent | 12b57779127a84ec0c9e55dcde0ff732d6fe0c30 (diff) | |
download | SPIRV-Tools-2cbb2cce3ea1401bf8982c58d0d7dc8a8a0d4f33.tar.gz SPIRV-Tools-2cbb2cce3ea1401bf8982c58d0d7dc8a8a0d4f33.tar.bz2 SPIRV-Tools-2cbb2cce3ea1401bf8982c58d0d7dc8a8a0d4f33.zip |
Change interface of Pass::Process() to return possible failures.
Diffstat (limited to 'source/opt/eliminate_dead_constant_pass.h')
-rw-r--r-- | source/opt/eliminate_dead_constant_pass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/opt/eliminate_dead_constant_pass.h b/source/opt/eliminate_dead_constant_pass.h index bc24ebad..80d8a9a4 100644 --- a/source/opt/eliminate_dead_constant_pass.h +++ b/source/opt/eliminate_dead_constant_pass.h @@ -31,7 +31,7 @@ class EliminateDeadConstantPass : public Pass { explicit EliminateDeadConstantPass(const MessageConsumer& c) : Pass(c) {} const char* name() const override { return "eliminate-dead-const"; } - bool Process(ir::Module*) override; + Status Process(ir::Module*) override; }; } // namespace opt |