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

Misha Brukman brukman at cs.uiuc.edu
Fri Oct 22 16:36:08 PDT 2004



Changes in directory llvm/lib/ExecutionEngine/JIT:

JIT.cpp updated: 1.44 -> 1.45
---
Log message:

Use cleaner quoting and eliminate blank space


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

Index: llvm/lib/ExecutionEngine/JIT/JIT.cpp
diff -u llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.44 llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.45
--- llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.44	Wed Sep  1 17:55:35 2004
+++ llvm/lib/ExecutionEngine/JIT/JIT.cpp	Fri Oct 22 18:35:57 2004
@@ -72,7 +72,7 @@
   assert(FTy->getNumParams() == ArgValues.size() &&
          "This doesn't support passing arguments through varargs (yet)!");
 
-  // Handle some common cases first.  These cases correspond to common 'main'
+  // Handle some common cases first.  These cases correspond to common `main'
   // prototypes.
   if (RetTy == Type::IntTy || RetTy == Type::UIntTy || RetTy == Type::VoidTy) {
     switch (ArgValues.size()) {
@@ -83,7 +83,7 @@
           isa<PointerType>(FTy->getParamType(2))) {
         int (*PF)(int, char **, const char **) =
           (int(*)(int, char **, const char **))FPtr;
-        
+
         // Call the function.
         GenericValue rv;
         rv.IntVal = PF(ArgValues[0].IntVal, (char **)GVTOP(ArgValues[1]),
@@ -96,7 +96,7 @@
            FTy->getParamType(0) == Type::UIntTy) &&
           isa<PointerType>(FTy->getParamType(1))) {
         int (*PF)(int, char **) = (int(*)(int, char **))FPtr;
-        
+
         // Call the function.
         GenericValue rv;
         rv.IntVal = PF(ArgValues[0].IntVal, (char **)GVTOP(ArgValues[1]));






More information about the llvm-commits mailing list