summaryrefslogtreecommitdiff
path: root/src/jit/instr.cpp
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2016-03-07 11:41:19 -0800
committerPat Gavlin <pagavlin@microsoft.com>2016-03-07 11:41:19 -0800
commitcc90f62e4b4f45e6b9b3e9ee2251df32fad9f2f0 (patch)
treeee6abe636390ae3e926ee8bc40273e7b001e03b2 /src/jit/instr.cpp
parente454121ee731e35de9244596c4a5cd1563d455fe (diff)
downloadcoreclr-cc90f62e4b4f45e6b9b3e9ee2251df32fad9f2f0.tar.gz
coreclr-cc90f62e4b4f45e6b9b3e9ee2251df32fad9f2f0.tar.bz2
coreclr-cc90f62e4b4f45e6b9b3e9ee2251df32fad9f2f0.zip
Reapply change 1578859: Add a new set of APIs for JIT configuration.
SuperPMI has been udpated to accommodate this change, and should no longer crash when run using a JIT built with these changes. [tfs-changeset: 1582144]
Diffstat (limited to 'src/jit/instr.cpp')
-rw-r--r--src/jit/instr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jit/instr.cpp b/src/jit/instr.cpp
index 1bd1ab6032..1ed705321b 100644
--- a/src/jit/instr.cpp
+++ b/src/jit/instr.cpp
@@ -3912,8 +3912,7 @@ void CodeGen::instGen_Return(unsigned stkArgSize)
void CodeGen::instGen_MemoryBarrier()
{
#ifdef DEBUG
- static ConfigDWORD fJitNoMemoryBarriers;
- if (fJitNoMemoryBarriers.val(CLRConfig::INTERNAL_JitNoMemoryBarriers) == 1)
+ if (JitConfig.JitNoMemoryBarriers() == 1)
return;
#endif // DEBUG