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:
8f50555
)
Replace 'assert' with '_ASSERTE' (#25177)
author
Andy Hanson
<anhans@microsoft.com>
Mon, 17 Jun 2019 09:21:50 +0000
(
02:21
-0700)
committer
Jan Vorlicek
<janvorli@microsoft.com>
Mon, 17 Jun 2019 09:21:50 +0000
(11:21 +0200)
src/pal/src/misc/sysinfo.cpp
patch
|
blob
|
history
diff --git
a/src/pal/src/misc/sysinfo.cpp
b/src/pal/src/misc/sysinfo.cpp
index
1e91102
..
e3d001b
100644
(file)
--- a/
src/pal/src/misc/sysinfo.cpp
+++ b/
src/pal/src/misc/sysinfo.cpp
@@
-539,7
+539,7
@@
PAL_GetLogicalProcessorCacheSizeFromOS()
|| sysctlbyname("hw.l1dcachesize", &cacheSizeFromSysctl, &sz, nullptr, 0) == 0;
if (success)
{
-
assert
(cacheSizeFromSysctl > 0);
+
_ASSERTE
(cacheSizeFromSysctl > 0);
cacheSize = (size_t) cacheSizeFromSysctl;
}
}