From 9ce6f6fe5e44a5bd4c4dcee660cddd197aec5307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20H=C3=A4gglund?= Date: Wed, 23 May 2012 12:34:56 +0000 Subject: Fixed typo in r156905. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157320 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Function.cpp | 4 ++-- utils/TableGen/IntrinsicEmitter.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index d0479a9..0babc55 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -357,9 +357,9 @@ std::string Intrinsic::getName(ID id, ArrayRef Tys) { return Result; } -#define GET_INTRINSTIC_GENERATOR_GLOBAL +#define GET_INTRINSIC_GENERATOR_GLOBAL #include "llvm/Intrinsics.gen" -#undef GET_INTRINSTIC_GENERATOR_GLOBAL +#undef GET_INTRINSIC_GENERATOR_GLOBAL static Type *DecodeFixedType(unsigned &NextElt, ArrayRef Infos, ArrayRef Tys, LLVMContext &Context) { diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp index 2a22c97..226d907 100644 --- a/utils/TableGen/IntrinsicEmitter.cpp +++ b/utils/TableGen/IntrinsicEmitter.cpp @@ -470,7 +470,7 @@ void printIITEntry(raw_ostream &OS, unsigned char X) { void IntrinsicEmitter::EmitGenerator(const std::vector &Ints, raw_ostream &OS) { OS << "// Global intrinsic function declaration type table.\n"; - OS << "#ifdef GET_INTRINSTIC_GENERATOR_GLOBAL\n"; + OS << "#ifdef GET_INTRINSIC_GENERATOR_GLOBAL\n"; // NOTE: These enums must be kept in sync with the ones above! OS << "enum IIT_Info {\n"; OS << " IIT_Done = 0,\n"; @@ -575,7 +575,7 @@ void IntrinsicEmitter::EmitGenerator(const std::vector &Ints, LongEncodingTable.emit(OS, printIITEntry); OS << " 255\n};\n\n"; - OS << "#endif\n\n"; // End of GET_INTRINSTIC_GENERATOR_GLOBAL + OS << "#endif\n\n"; // End of GET_INTRINSIC_GENERATOR_GLOBAL } namespace { -- cgit v1.1