projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbaa577
)
Fix for build break
author
Kyungwoo Lee
<kyulee@microsoft.com>
Tue, 10 Nov 2015 23:21:59 +0000
(15:21 -0800)
committer
Kyungwoo Lee
<kyulee@microsoft.com>
Tue, 10 Nov 2015 23:22:06 +0000
(15:22 -0800)
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.
src/gcinfo/gcinfoencoder.cpp
patch
|
blob
|
history
diff --git
a/src/gcinfo/gcinfoencoder.cpp
b/src/gcinfo/gcinfoencoder.cpp
index
b6c8b5a
..
75da57e
100644
(file)
--- 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);