Remove uses of LP{,C}UTF8 in the JIT.
authorPat Gavlin <pagavlin@microsoft.com>
Thu, 31 Mar 2016 19:44:53 +0000 (12:44 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Mon, 18 Apr 2016 17:30:13 +0000 (10:30 -0700)
Replace these with the corresponding `char*` type.

Commit migrated from https://github.com/dotnet/coreclr/commit/ba68babd1c100a56664cbfd2071829a814269ed9

src/coreclr/src/jit/utils.cpp
src/coreclr/src/jit/utils.h

index 51b8747..2dd47b9 100644 (file)
@@ -1468,7 +1468,7 @@ AssemblyNamesList2::~AssemblyNamesList2()
     }
 }
 
-bool AssemblyNamesList2::IsInList(LPCUTF8 assemblyName)
+bool AssemblyNamesList2::IsInList(const char* assemblyName)
 {
     for (AssemblyName* pName = m_pNames; pName != nullptr; pName = pName->m_next)
     {
index abe1526..75fe119 100644 (file)
@@ -432,7 +432,7 @@ class AssemblyNamesList2
 {
     struct AssemblyName
     {
-        LPUTF8          m_assemblyName;
+        char*           m_assemblyName;
         AssemblyName*   m_next;
     };
 
@@ -447,7 +447,7 @@ public:
     ~AssemblyNamesList2();
 
     // Return 'true' if 'assemblyName' (in UTF-8 format) is in the stored list of assembly names.
-    bool IsInList(LPCUTF8 assemblyName);
+    bool IsInList(const char* assemblyName);
 
     // Return 'true' if the assembly name list is empty.
     bool IsEmpty()