diff options
author | Hanjoung Lee <waterets@gmail.com> | 2017-06-16 09:53:44 +0900 |
---|---|---|
committer | Bruce Forstall <brucefo@microsoft.com> | 2017-06-15 17:53:44 -0700 |
commit | 0c96db33ddb7d784cda9bd0368756046f436e8bc (patch) | |
tree | a711629ae4727ceb4d7a2b1477334eb3db3356e1 /src/inc | |
parent | 5580664eb419cb868a3669253d5d9666a3def641 (diff) | |
download | coreclr-0c96db33ddb7d784cda9bd0368756046f436e8bc.tar.gz coreclr-0c96db33ddb7d784cda9bd0368756046f436e8bc.tar.bz2 coreclr-0c96db33ddb7d784cda9bd0368756046f436e8bc.zip |
[x86/Linux] Enable gcMarkFilterVarsPinned (WIN64EXCEPTIONS) (#11281)
* [x86/Linux] Enable gcMarkFilterVarsPinned
Do gcMarkFilterVarsPinned() for WIN64EXCEPTIONS
* [x86/Linux] GCInfo : Force this pointer untracked
`this` pointer is now always untracked so we can use pinned flag in tracked lifetimes.
This allows us to make the refs(inside filter) pinned to prevent from double-relocation.
* [x86/Linux] GCInfo : fix comment and formatting
* [x86/Linux] GCInfo : Update
- Force "this" pointer untracked only when "this" is generic context
- Style fixes
* [x86/Linux] GCInfo : remove this_OFFSET_FLAG
Diffstat (limited to 'src/inc')
-rw-r--r-- | src/inc/gcinfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inc/gcinfo.h b/src/inc/gcinfo.h index e5537e0526..901f2cfc07 100644 --- a/src/inc/gcinfo.h +++ b/src/inc/gcinfo.h @@ -26,7 +26,9 @@ const unsigned OFFSET_MASK = 0x3; // mask to access the low 2 bits // const unsigned byref_OFFSET_FLAG = 0x1; // the offset is an interior ptr const unsigned pinned_OFFSET_FLAG = 0x2; // the offset is a pinned ptr +#if !defined(_TARGET_X86_) || !defined(WIN64EXCEPTIONS) const unsigned this_OFFSET_FLAG = 0x2; // the offset is "this" +#endif //----------------------------------------------------------------------------- // The current GCInfo Version |