summaryrefslogtreecommitdiff
path: root/source/opt/local_single_store_elim_pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/opt/local_single_store_elim_pass.cpp')
-rw-r--r--source/opt/local_single_store_elim_pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/opt/local_single_store_elim_pass.cpp b/source/opt/local_single_store_elim_pass.cpp
index 225356e5..66c1505e 100644
--- a/source/opt/local_single_store_elim_pass.cpp
+++ b/source/opt/local_single_store_elim_pass.cpp
@@ -116,7 +116,7 @@ void LocalSingleStoreElimPass::InitExtensionWhiteList() {
});
}
bool LocalSingleStoreElimPass::ProcessVariable(Instruction* var_inst) {
- vector<Instruction*> users;
+ std::vector<Instruction*> users;
FindUses(var_inst, &users);
Instruction* store_inst = FindSingleStoreAndCheckUses(var_inst, users);
@@ -129,7 +129,7 @@ bool LocalSingleStoreElimPass::ProcessVariable(Instruction* var_inst) {
}
Instruction* LocalSingleStoreElimPass::FindSingleStoreAndCheckUses(
- Instruction* var_inst, const vector<Instruction*>& users) const {
+ Instruction* var_inst, const std::vector<Instruction*>& users) const {
// Make sure there is exactly 1 store.
Instruction* store_inst = nullptr;