mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-23 12:10:06 +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);
|
||||
if (prev_store != var2store_.end() &&
|
||||
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);
|
||||
modified = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user