summaryrefslogtreecommitdiffstats
path: root/source/slang/parameter-binding.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2019-01-16 09:15:02 -0800
committerGitHub <noreply@github.com>2019-01-16 09:15:02 -0800
commitc260e6aa3a7dc3e6794442daacde3ae23f029e0b (patch)
tree2985f616ac8085168b1c5dce13f566f217559fc9 /source/slang/parameter-binding.cpp
parentf0633a7d0b1615f6b115d53763bedeeb857b7f3c (diff)
Fix a bug in IR linking (#777)
The IR linking logic was recently rewritten to use the (optional) `IRLinkageDecoration`s instead of assuming `IRGlobalVals` always have a mangled name field, and in that process a bug seems to have crept in where in the case that an instruction that would usually quality as a "global value" does *not* have linkage, we were failing to register the instruction we create in the output module as a replacement for the original instruction. This problem affects `static` variables inside of functions, leading to them potentially getting emitted multiple times.
Diffstat (limited to 'source/slang/parameter-binding.cpp')
0 files changed, 0 insertions, 0 deletions