summaryrefslogtreecommitdiff
path: root/src/jit/utils.h
diff options
context:
space:
mode:
authorMike Danes <onemihaid@hotmail.com>2017-10-14 14:21:28 +0300
committerMike Danes <onemihaid@hotmail.com>2017-10-15 13:29:47 +0300
commitb44380cc44507958cac552f0bf45ba0727d5cacc (patch)
tree2de9649ec1bbad4f3795ca7f2ae308f5b405c8a5 /src/jit/utils.h
parentc72e95d50fcabd2a233334885d99f18f2c6fd1f3 (diff)
downloadcoreclr-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.h')
-rw-r--r--src/jit/utils.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/jit/utils.h b/src/jit/utils.h
index e4c6975c39..750af2df26 100644
--- a/src/jit/utils.h
+++ b/src/jit/utils.h
@@ -17,6 +17,7 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#define _UTILS_H_
#include "iallocator.h"
+#include "hostallocator.h"
#include "cycletimer.h"
// Needed for unreached()
@@ -548,12 +549,12 @@ class AssemblyNamesList2
AssemblyName* m_next;
};
- AssemblyName* m_pNames; // List of names
- IAllocator* m_alloc; // IAllocator to use in this class
+ AssemblyName* m_pNames; // List of names
+ HostAllocator* m_alloc; // HostAllocator to use in this class
public:
// Take a Unicode string list of assembly names, parse it, and store it.
- AssemblyNamesList2(const wchar_t* list, __in IAllocator* alloc);
+ AssemblyNamesList2(const wchar_t* list, __in HostAllocator* alloc);
~AssemblyNamesList2();