| 1 | // Licensed to the .NET Foundation under one or more agreements. |
|---|---|
| 2 | // The .NET Foundation licenses this file to you under the MIT license. |
| 3 | // See the LICENSE file in the project root for more information. |
| 4 | |
| 5 | |
| 6 | |
| 7 | inline BOOL ExecutionManager::IsCollectibleMethod(const METHODTOKEN& MethodToken) |
| 8 | { |
| 9 | WRAPPER_NO_CONTRACT; |
| 10 | return MethodToken.m_pRangeSection->flags & RangeSection::RANGE_SECTION_COLLECTIBLE; |
| 11 | } |
| 12 | |
| 13 | inline TADDR IJitManager::JitTokenToModuleBase(const METHODTOKEN& MethodToken) |
| 14 | { |
| 15 | return MethodToken.m_pRangeSection->LowAddress; |
| 16 | } |
| 17 |