diff options
author | Patrik Hägglund <patrik.h.hagglund@ericsson.com> | 2012-05-23 12:34:56 +0000 |
---|---|---|
committer | Patrik Hägglund <patrik.h.hagglund@ericsson.com> | 2012-05-23 12:34:56 +0000 |
commit | 9ce6f6fe5e44a5bd4c4dcee660cddd197aec5307 (patch) | |
tree | 2f8086f1b5d179a5e0375cd7e8571d08f017c574 | |
parent | d76938788b4b682043a74befbb6320ce0077ddc9 (diff) | |
download | external_llvm-9ce6f6fe5e44a5bd4c4dcee660cddd197aec5307.zip external_llvm-9ce6f6fe5e44a5bd4c4dcee660cddd197aec5307.tar.gz external_llvm-9ce6f6fe5e44a5bd4c4dcee660cddd197aec5307.tar.bz2 |
Fixed typo in r156905.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157320 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/Function.cpp | 4 | ||||
-rw-r--r-- | 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<Type*> 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<unsigned char> Infos, ArrayRef<Type*> 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<CodeGenIntrinsic> &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<CodeGenIntrinsic> &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 { |