diff options
Diffstat (limited to 'source/opt/aggressive_dead_code_elim_pass.h')
-rw-r--r-- | source/opt/aggressive_dead_code_elim_pass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/opt/aggressive_dead_code_elim_pass.h b/source/opt/aggressive_dead_code_elim_pass.h index c1291dc47..99c473943 100644 --- a/source/opt/aggressive_dead_code_elim_pass.h +++ b/source/opt/aggressive_dead_code_elim_pass.h @@ -65,7 +65,7 @@ class AggressiveDCEPass : public MemPass { // Return true if |varId| is a variable of |storageClass|. |varId| must either // be 0 or the result of an instruction. - bool IsVarOfStorage(uint32_t varId, uint32_t storageClass); + bool IsVarOfStorage(uint32_t varId, spv::StorageClass storageClass); // Return true if the instance of the variable |varId| can only be access in // |func|. For example, a function scope variable, or a private variable |