From 01a5eed38e3e22a40e5281cebcde35db55b24f0b Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 24 Mar 2017 14:17:56 +0000 Subject: [PATCH] Another instance where GCC doesn't understand implicit construction of StringLiteral. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298703 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/X86EVEX2VEXTablesEmitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp b/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp index d84f32ac92d..07b96b03b01 100644 --- a/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp +++ b/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp @@ -38,8 +38,8 @@ class X86EVEX2VEXTablesEmitter { // Represents a manually added entry to the tables struct ManualEntry { - StringLiteral EVEXInstStr; - StringLiteral VEXInstStr; + const char *EVEXInstStr; + const char *VEXInstStr; bool Is128Bit; }; -- 2.50.1