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 | #pragma once |
6 | |
7 | #ifdef DEBUG |
8 | #define DBG_SSA_JITDUMP(...) \ |
9 | if (JitTls::GetCompiler()->verboseSsa) \ |
10 | logf(__VA_ARGS__) |
11 | #else |
12 | #define DBG_SSA_JITDUMP(...) |
13 | #endif |
14 | |
15 | // DBG_SSA_JITDUMP prints only if DEBUG, DEBUG_SSA, and tlsCompiler->verbose are all set. |
16 | |
17 | namespace SsaConfig |
18 | { |
19 | // FIRST ssa num is given to the first definition of a variable which can either be: |
20 | // 1. A regular definition in the program. |
21 | // 2. Or initialization by compInitMem. |
22 | static const int FIRST_SSA_NUM = 1; |
23 | |
24 | // Sentinel value to indicate variable not touched by SSA. |
25 | static const int RESERVED_SSA_NUM = 0; |
26 | |
27 | } // end of namespace SsaConfig |
28 | |