From b44380cc44507958cac552f0bf45ba0727d5cacc Mon Sep 17 00:00:00 2001 From: Mike Danes Date: Sat, 14 Oct 2017 14:21:28 +0300 Subject: Use HostAllocator directly when possible Makes it easier to find unnecessary uses of IAllocator --- src/jit/utils.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/jit/utils.h') 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(); -- cgit v1.2.3