aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-10-22 23:35:57 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-10-22 23:35:57 +0000
commitec8430270a9f1adbf9b790319a1d4781658359fd (patch)
treeaf6cca2f5fe6e902bf0ab432472adc32ca49d0f7 /lib/ExecutionEngine
parentb8d5570e9507464a08bf49b57ebfab22334a2aec (diff)
downloadexternal_llvm-ec8430270a9f1adbf9b790319a1d4781658359fd.zip
external_llvm-ec8430270a9f1adbf9b790319a1d4781658359fd.tar.gz
external_llvm-ec8430270a9f1adbf9b790319a1d4781658359fd.tar.bz2
Use cleaner quoting and eliminate blank space
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r--lib/ExecutionEngine/JIT/JIT.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.cpp b/lib/ExecutionEngine/JIT/JIT.cpp
index 311ec4b..7596c43 100644
--- a/lib/ExecutionEngine/JIT/JIT.cpp
+++ b/lib/ExecutionEngine/JIT/JIT.cpp
@@ -72,7 +72,7 @@ GenericValue JIT::runFunction(Function *F,
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 @@ GenericValue JIT::runFunction(Function *F,
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 @@ GenericValue JIT::runFunction(Function *F,
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]));