summaryrefslogtreecommitdiff
path: root/src/jit/emit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/emit.cpp')
-rw-r--r--src/jit/emit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jit/emit.cpp b/src/jit/emit.cpp
index 2cd045b59a..539d6e4532 100644
--- a/src/jit/emit.cpp
+++ b/src/jit/emit.cpp
@@ -925,8 +925,7 @@ void emitter::emitTmpSizeChanged(unsigned tmpSize)
#ifdef DEBUG
// Workaround for FP code
- static ConfigDWORD fMaxTempAssert;
- bool bAssert = fMaxTempAssert.val(CLRConfig::INTERNAL_JITMaxTempAssert)?true:false;
+ bool bAssert = JitConfig.JitMaxTempAssert()?true:false;
if (tmpSize > emitMaxTmpSize && bAssert)
{