| 1 | // | 
|---|---|
| 2 | // Copyright (c) Microsoft. All rights reserved. | 
| 3 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. | 
| 4 | // | 
| 5 | |
| 6 | #ifndef _ICorJitCompiler | 
| 7 | #define _ICorJitCompiler | 
| 8 | |
| 9 | #include "runtimedetails.h" | 
| 10 | #include "methodcallsummarizer.h" | 
| 11 | #include "ieememorymanager.h" | 
| 12 | |
| 13 | class interceptor_ICJC : public ICorJitCompiler | 
| 14 | { | 
| 15 | |
| 16 | #include "icorjitcompilerimpl.h" | 
| 17 | |
| 18 | public: | 
| 19 | // Added to help us track the original icjc and be able to easily indirect to it. | 
| 20 | ICorJitCompiler* original_ICorJitCompiler; | 
| 21 | MethodCallSummarizer* mcs; | 
| 22 | }; | 
| 23 | |
| 24 | extern interceptor_IEEMM* current_IEEMM; // we want this to live beyond the scope of a single compileMethodCall | 
| 25 | |
| 26 | #endif | 
| 27 |