From ca210d84329f02a32428bd5521135224ece03c11 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Patrik=20H=C3=A4gglund?= Date: Wed, 23 May 2012 12:34:56 +0000 Subject: [PATCH] Fixed typo in r156905. llvm-svn: 157320 --- llvm/lib/VMCore/Function.cpp | 4 ++-- llvm/utils/TableGen/IntrinsicEmitter.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/lib/VMCore/Function.cpp b/llvm/lib/VMCore/Function.cpp index d0479a9..0babc55 100644 --- a/llvm/lib/VMCore/Function.cpp +++ b/llvm/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/llvm/utils/TableGen/IntrinsicEmitter.cpp b/llvm/utils/TableGen/IntrinsicEmitter.cpp index 2a22c97..226d907 100644 --- a/llvm/utils/TableGen/IntrinsicEmitter.cpp +++ b/llvm/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 { -- 2.7.4