diff options
author | Kyungwoo Lee <kyulee@microsoft.com> | 2015-11-10 15:21:59 -0800 |
---|---|---|
committer | Kyungwoo Lee <kyulee@microsoft.com> | 2015-11-10 15:22:06 -0800 |
commit | d6b96a452ea84e5c06584614d18a30d5a2a35793 (patch) | |
tree | 5c773d7e0c69756f86a87ff2bfee87b511fc1297 /src/gcinfo | |
parent | dbaa5773becde5b8fa5e35a8ab924e71481e177d (diff) | |
download | coreclr-d6b96a452ea84e5c06584614d18a30d5a2a35793.tar.gz coreclr-d6b96a452ea84e5c06584614d18a30d5a2a35793.tar.bz2 coreclr-d6b96a452ea84e5c06584614d18a30d5a2a35793.zip |
Fix for build break
When building llilc against coreclr in Linux, m_IsSlotTableFrozen is defined under _DEBUG
but it is used without guard "#ifdef _DEBUG"
This is fix for it.
Diffstat (limited to 'src/gcinfo')
-rw-r--r-- | src/gcinfo/gcinfoencoder.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gcinfo/gcinfoencoder.cpp b/src/gcinfo/gcinfoencoder.cpp index b6c8b5a15e..75da57ed34 100644 --- a/src/gcinfo/gcinfoencoder.cpp +++ b/src/gcinfo/gcinfoencoder.cpp @@ -627,7 +627,9 @@ void GcInfoEncoder::Build() m_DbgEncoder.Build(); #endif +#ifdef _DEBUG _ASSERTE(m_IsSlotTableFrozen || m_NumSlots == 0); +#endif _ASSERTE((1 << NUM_NORM_CODE_OFFSETS_PER_CHUNK_LOG2) == NUM_NORM_CODE_OFFSETS_PER_CHUNK); |