mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-10-19 03:20:14 +00:00
Fix build failure (#3508)
This commit is contained in:
parent
44428352ba
commit
94667fbf66
@ -83,7 +83,7 @@ bool LocalSingleBlockLoadStoreElimPass::LocalSingleBlockLoadStoreElim(
|
|||||||
auto prev_store = var2store_.find(varId);
|
auto prev_store = var2store_.find(varId);
|
||||||
if (prev_store != var2store_.end() &&
|
if (prev_store != var2store_.end() &&
|
||||||
instructions_to_save.count(prev_store->second) == 0 &&
|
instructions_to_save.count(prev_store->second) == 0 &&
|
||||||
!get_debug_info_mgr()->IsDebugDeclared(varId)) {
|
!context()->get_debug_info_mgr()->IsDebugDeclared(varId)) {
|
||||||
instructions_to_kill.push_back(prev_store->second);
|
instructions_to_kill.push_back(prev_store->second);
|
||||||
modified = true;
|
modified = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user