From 799730d011d36a3ab0f5bfd629e7927bed351c25 Mon Sep 17 00:00:00 2001 From: Pat Gavlin Date: Thu, 31 Mar 2016 12:44:53 -0700 Subject: [PATCH] Remove uses of LP{,C}UTF8 in the JIT. Replace these with the corresponding `char*` type. Commit migrated from https://github.com/dotnet/coreclr/commit/ba68babd1c100a56664cbfd2071829a814269ed9 --- src/coreclr/src/jit/utils.cpp | 2 +- src/coreclr/src/jit/utils.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/coreclr/src/jit/utils.cpp b/src/coreclr/src/jit/utils.cpp index 51b8747..2dd47b9 100644 --- a/src/coreclr/src/jit/utils.cpp +++ b/src/coreclr/src/jit/utils.cpp @@ -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) { diff --git a/src/coreclr/src/jit/utils.h b/src/coreclr/src/jit/utils.h index abe1526..75fe119 100644 --- a/src/coreclr/src/jit/utils.h +++ b/src/coreclr/src/jit/utils.h @@ -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() -- 2.7.4