diff options
author | Pat Gavlin <pagavlin@microsoft.com> | 2016-03-07 11:41:19 -0800 |
---|---|---|
committer | Pat Gavlin <pagavlin@microsoft.com> | 2016-03-07 11:41:19 -0800 |
commit | cc90f62e4b4f45e6b9b3e9ee2251df32fad9f2f0 (patch) | |
tree | ee6abe636390ae3e926ee8bc40273e7b001e03b2 /src/jit/utils.h | |
parent | e454121ee731e35de9244596c4a5cd1563d455fe (diff) | |
download | coreclr-cc90f62e4b4f45e6b9b3e9ee2251df32fad9f2f0.tar.gz coreclr-cc90f62e4b4f45e6b9b3e9ee2251df32fad9f2f0.tar.bz2 coreclr-cc90f62e4b4f45e6b9b3e9ee2251df32fad9f2f0.zip |
Reapply change 1578859: Add a new set of APIs for JIT configuration.
SuperPMI has been udpated to accommodate this change, and should no
longer crash when run using a JIT built with these changes.
[tfs-changeset: 1582144]
Diffstat (limited to 'src/jit/utils.h')
-rw-r--r-- | src/jit/utils.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/jit/utils.h b/src/jit/utils.h index 659c81623b..25ca684dc8 100644 --- a/src/jit/utils.h +++ b/src/jit/utils.h @@ -77,20 +77,19 @@ class ConfigMethodRange public: bool contains(class ICorJitInfo* info, CORINFO_METHOD_HANDLE method); - inline void ensureInit(const CLRConfig::ConfigStringInfo & info) + inline void ensureInit(const wchar_t* rangeStr) { // make sure that the memory was zero initialized _ASSERTE(m_inited == 0 || m_inited == 1); if (!m_inited) { - init(info); + initRanges(rangeStr); _ASSERTE(m_inited == 1); } } private: - void init(const CLRConfig::ConfigStringInfo & info); void initRanges(__in_z LPCWSTR rangeStr); private: @@ -426,7 +425,7 @@ class AssemblyNamesList2 public: // Take a Unicode string list of assembly names, parse it, and store it. - AssemblyNamesList2(__in LPWSTR list, __in IAllocator* alloc); + AssemblyNamesList2(const wchar_t* list, __in IAllocator* alloc); ~AssemblyNamesList2(); |