diff options
author | Pat Gavlin <pagavlin@microsoft.com> | 2016-02-25 07:19:33 -0800 |
---|---|---|
committer | Pat Gavlin <pagavlin@microsoft.com> | 2016-02-25 07:19:33 -0800 |
commit | d2b9a6e8bae487ae092fca2d3bccd109c7ef85f9 (patch) | |
tree | 68584f2abe48ea3ada91c9c6c93cf3ba2102f0c6 /src/jit/jitpch.h | |
parent | c3b883ca33c1080ec65815684aabce462624b1b4 (diff) | |
download | coreclr-d2b9a6e8bae487ae092fca2d3bccd109c7ef85f9.tar.gz coreclr-d2b9a6e8bae487ae092fca2d3bccd109c7ef85f9.tar.bz2 coreclr-d2b9a6e8bae487ae092fca2d3bccd109c7ef85f9.zip |
Add a new set of APIs for JIT configuration.
These APIs accommodate the retrieval of config values using the JIT
interface rather than the utilcode library. All configuration options
are now initialized upon the first call to compileMethod. The values
of configuration options are available off of an ambient JitConfig
object.
This also changed `JitHost::get*ConfigValue` to use the
`EEConfig_default` policy instead of `REGUTIL_default` in order to
avoid breaking a small set of JIT config options available in release
builds that were using the former. This change is exceedingly
unlikely to adversely affect the behavior of other JIT config options
that were originally fetched using `REGUTIL_default`, since values
for these options should not be present any locations searched
by `EEConfig_default` that are not searched by
`REGUTIL_default` (namely config files).
[tfs-changeset: 1578859]
Diffstat (limited to 'src/jit/jitpch.h')
-rw-r--r-- | src/jit/jitpch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jit/jitpch.h b/src/jit/jitpch.h index a3c7e24464..58c9c6bd95 100644 --- a/src/jit/jitpch.h +++ b/src/jit/jitpch.h @@ -20,6 +20,7 @@ #include "corjithost.h" #include "jithost.h" #endif +#include "jitconfig.h" #include "jit.h" #include "iallocator.h" #include "hashbv.h" |