Fixed typo in r156905.

llvm-svn: 157320
This commit is contained in:
Patrik Hägglund 2012-05-23 12:34:56 +00:00
parent 94537c2a06
commit ca210d8432
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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 {