diff options
author | noahfalk <noahfalk@microsoft.com> | 2017-03-30 00:07:59 -0700 |
---|---|---|
committer | noahfalk <noahfalk@microsoft.com> | 2017-03-31 19:06:31 -0700 |
commit | 4561dad3f38f8dd5a9637fc3a0be418abac1f088 (patch) | |
tree | 0894e2f92df51729a5e31b10c6e42b623b2f282d /src/vm/prestub.cpp | |
parent | bf6a03a994fce9c4b1bb3ba904b67c09d7f40b68 (diff) | |
download | coreclr-4561dad3f38f8dd5a9637fc3a0be418abac1f088.tar.gz coreclr-4561dad3f38f8dd5a9637fc3a0be418abac1f088.tar.bz2 coreclr-4561dad3f38f8dd5a9637fc3a0be418abac1f088.zip |
Add Tier0/1 jit flags
These flags provides a hook to change the JIT policy in the future and diverge tier0/tier1 compilation from min_opt/speed_opt respectively.
Diffstat (limited to 'src/vm/prestub.cpp')
-rw-r--r-- | src/vm/prestub.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/prestub.cpp b/src/vm/prestub.cpp index e6467710dd..67639e99b2 100644 --- a/src/vm/prestub.cpp +++ b/src/vm/prestub.cpp @@ -285,7 +285,7 @@ PCODE MethodDesc::MakeJitWorker(COR_ILMETHOD_DECODER* ILHeader, CORJIT_FLAGS fla bool fBackgroundThread = flags.IsSet(CORJIT_FLAGS::CORJIT_FLAG_MCJIT_BACKGROUND); #endif - // If this is the first stage of a tiered compilation progression, use min-opt, otherwise + // If this is the first stage of a tiered compilation progression, use tier0, otherwise // use default compilation options #ifdef FEATURE_TIERED_COMPILATION if (!IsEligibleForTieredCompilation()) @@ -295,7 +295,7 @@ PCODE MethodDesc::MakeJitWorker(COR_ILMETHOD_DECODER* ILHeader, CORJIT_FLAGS fla else { fStable = FALSE; - flags.Add(CORJIT_FLAGS(CORJIT_FLAGS::CORJIT_FLAG_MIN_OPT)); + flags.Add(CORJIT_FLAGS(CORJIT_FLAGS::CORJIT_FLAG_TIER0)); } #endif |