Fixed typo in r156905.
authorPatrik Hägglund <patrik.h.hagglund@ericsson.com>
Wed, 23 May 2012 12:34:56 +0000 (12:34 +0000)
committerPatrik Hägglund <patrik.h.hagglund@ericsson.com>
Wed, 23 May 2012 12:34:56 +0000 (12:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157320 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Function.cpp
utils/TableGen/IntrinsicEmitter.cpp

index d0479a95db35a72661836a59f7998bafe67c3890..0babc55eb909000bd26be37649c9171e875dde0d 100644 (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) {
index 2a22c974a93aada97d05e5243e9735b75f1882cd..226d9071aa370f76b2668b7804d488354df3e53a 100644 (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 {