diff options
author | Mike Danes <onemihaid@hotmail.com> | 2017-10-14 14:21:28 +0300 |
---|---|---|
committer | Mike Danes <onemihaid@hotmail.com> | 2017-10-15 13:29:47 +0300 |
commit | b44380cc44507958cac552f0bf45ba0727d5cacc (patch) | |
tree | 2de9649ec1bbad4f3795ca7f2ae308f5b405c8a5 /src/jit/utils.cpp | |
parent | c72e95d50fcabd2a233334885d99f18f2c6fd1f3 (diff) | |
download | coreclr-b44380cc44507958cac552f0bf45ba0727d5cacc.tar.gz coreclr-b44380cc44507958cac552f0bf45ba0727d5cacc.tar.bz2 coreclr-b44380cc44507958cac552f0bf45ba0727d5cacc.zip |
Use HostAllocator directly when possible
Makes it easier to find unnecessary uses of IAllocator
Diffstat (limited to 'src/jit/utils.cpp')
-rw-r--r-- | src/jit/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/utils.cpp b/src/jit/utils.cpp index 2bf9bd0b8c..a203eda840 100644 --- a/src/jit/utils.cpp +++ b/src/jit/utils.cpp @@ -882,7 +882,7 @@ void ConfigMethodRange::InitRanges(const wchar_t* rangeStr, unsigned capacity) * Histogram class. */ -Histogram::Histogram(IAllocator* allocator, const unsigned* const sizeTable) +Histogram::Histogram(HostAllocator* allocator, const unsigned* const sizeTable) : m_allocator(allocator), m_sizeTable(sizeTable), m_counts(nullptr) { unsigned sizeCount = 0; @@ -1540,7 +1540,7 @@ void HelperCallProperties::init() // MyAssembly;mscorlib;System // MyAssembly;mscorlib System -AssemblyNamesList2::AssemblyNamesList2(const wchar_t* list, IAllocator* alloc) : m_alloc(alloc) +AssemblyNamesList2::AssemblyNamesList2(const wchar_t* list, HostAllocator* alloc) : m_alloc(alloc) { assert(m_alloc != nullptr); |