summaryrefslogtreecommitdiff
path: root/src/inc/eetwain.h
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-01-27 20:58:40 +0900
committerJan Vorlicek <janvorli@microsoft.com>2017-01-27 12:58:40 +0100
commit13ff59c43fcf7ddede25579a8651d7ba50ecaa31 (patch)
tree911d3e3b291760b0a8b3027e684767ef58a10fa0 /src/inc/eetwain.h
parent1ba64840b54c98781d9536d4ac6052c2c1ba5242 (diff)
downloadcoreclr-13ff59c43fcf7ddede25579a8651d7ba50ecaa31.tar.gz
coreclr-13ff59c43fcf7ddede25579a8651d7ba50ecaa31.tar.bz2
coreclr-13ff59c43fcf7ddede25579a8651d7ba50ecaa31.zip
Enable IsInPrologOrEpilog only if GC Info Decoder is not used (#9136)
* Enable IsInPrologOrEpilog only if GC Info Decoder is not used
Diffstat (limited to 'src/inc/eetwain.h')
-rw-r--r--src/inc/eetwain.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inc/eetwain.h b/src/inc/eetwain.h
index 5b88be38eb..cf6e867d78 100644
--- a/src/inc/eetwain.h
+++ b/src/inc/eetwain.h
@@ -278,12 +278,14 @@ virtual void * GetGSCookieAddr(PREGDISPLAY pContext,
EECodeInfo * pCodeInfo,
CodeManState * pState) = 0;
+#ifndef USE_GC_INFO_DECODER
/*
Returns true if the given IP is in the given method's prolog or an epilog.
*/
virtual bool IsInPrologOrEpilog(DWORD relPCOffset,
GCInfoToken gcInfoToken,
size_t* prologSize) = 0;
+#endif
/*
Returns true if the given IP is in the synchronized region of the method (valid for synchronized methods only)
@@ -546,6 +548,7 @@ void * GetGSCookieAddr(PREGDISPLAY pContext,
CodeManState * pState);
+#ifndef USE_GC_INFO_DECODER
/*
Returns true if the given IP is in the given method's prolog or an epilog.
*/
@@ -554,6 +557,7 @@ bool IsInPrologOrEpilog(
DWORD relOffset,
GCInfoToken gcInfoToken,
size_t* prologSize);
+#endif
/*
Returns true if the given IP is in the synchronized region of the method (valid for synchronized functions only)