[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Jul 14 19:47:58 PDT 2004



Changes in directory llvm/lib/ExecutionEngine:

ExecutionEngine.cpp updated: 1.54 -> 1.55

---
Log message:

Fixes for PR341: http://llvm.cs.uiuc.edu/PR341 



---
Diffs of the changes:  (+4 -4)

Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff -u llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.54 llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.55
--- llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.54	Sun Jul 11 03:01:11 2004
+++ llvm/lib/ExecutionEngine/ExecutionEngine.cpp	Wed Jul 14 21:47:47 2004
@@ -278,7 +278,7 @@
     }
     break;
   default:
-    std::cout << "ERROR: Constant unimp for type: " << C->getType() << "\n";
+    std::cout << "ERROR: Constant unimp for type: " << *C->getType() << "\n";
     abort();
   }
   return Result;
@@ -319,7 +319,7 @@
                             Ptr->Untyped[7] = (Val.ULongVal >> 56) & 255;
                             break;
     default:
-      std::cout << "Cannot store value of type " << Ty << "!\n";
+      std::cout << "Cannot store value of type " << *Ty << "!\n";
     }
   } else {
     switch (Ty->getTypeID()) {
@@ -352,7 +352,7 @@
                             Ptr->Untyped[0] = (Val.ULongVal >> 56) & 255;
                             break;
     default:
-      std::cout << "Cannot store value of type " << Ty << "!\n";
+      std::cout << "Cannot store value of type " << *Ty << "!\n";
     }
   }
 }
@@ -471,7 +471,7 @@
   }
 
   default:
-    std::cerr << "Bad Type: " << Init->getType() << "\n";
+    std::cerr << "Bad Type: " << *Init->getType() << "\n";
     assert(0 && "Unknown constant type to initialize memory with!");
   }
 }





More information about the llvm-commits mailing list