diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 22:55:34 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 22:55:34 +0000 |
commit | 10468d8a3c8856a9df9737c4cefe53a4d29dd399 (patch) | |
tree | 11d293ac9d2b0b90e7f7a4d433eb6ab23b6daac8 /llvm/lib/ExecutionEngine/JIT/JIT.cpp | |
parent | 91fb9ab60b6f769e13d528f66d2357bd461471b9 (diff) | |
download | bcm5719-llvm-10468d8a3c8856a9df9737c4cefe53a4d29dd399.tar.gz bcm5719-llvm-10468d8a3c8856a9df9737c4cefe53a4d29dd399.zip |
Remove trailing whitespace
llvm-svn: 21422
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JIT.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JIT.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.cpp b/llvm/lib/ExecutionEngine/JIT/JIT.cpp index 1d781d6e4e2..0559c53e6cf 100644 --- a/llvm/lib/ExecutionEngine/JIT/JIT.cpp +++ b/llvm/lib/ExecutionEngine/JIT/JIT.cpp @@ -1,10 +1,10 @@ //===-- JIT.cpp - LLVM Just in Time Compiler ------------------------------===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This tool implements a just-in-time compiler for LLVM, allowing direct @@ -35,7 +35,7 @@ JIT::JIT(ModuleProvider *MP, TargetMachine &tm, TargetJITInfo &tji) // Initialize MCE MCE = createEmitter(*this); - + // Add target data PM.add(new TargetData(TM.getTargetData())); @@ -77,7 +77,7 @@ GenericValue JIT::runFunction(Function *F, if (RetTy == Type::IntTy || RetTy == Type::UIntTy || RetTy == Type::VoidTy) { switch (ArgValues.size()) { case 3: - if ((FTy->getParamType(0) == Type::IntTy || + if ((FTy->getParamType(0) == Type::IntTy || FTy->getParamType(0) == Type::UIntTy) && isa<PointerType>(FTy->getParamType(1)) && isa<PointerType>(FTy->getParamType(2))) { @@ -92,7 +92,7 @@ GenericValue JIT::runFunction(Function *F, } break; case 2: - if ((FTy->getParamType(0) == Type::IntTy || + if ((FTy->getParamType(0) == Type::IntTy || FTy->getParamType(0) == Type::UIntTy) && isa<PointerType>(FTy->getParamType(1))) { int (*PF)(int, char **) = (int(*)(int, char **))FPtr; @@ -105,7 +105,7 @@ GenericValue JIT::runFunction(Function *F, break; case 1: if (FTy->getNumParams() == 1 && - (FTy->getParamType(0) == Type::IntTy || + (FTy->getParamType(0) == Type::IntTy || FTy->getParamType(0) == Type::UIntTy)) { GenericValue rv; int (*PF)(int) = (int(*)(int))FPtr; @@ -239,7 +239,7 @@ void *JIT::getPointerToFunction(Function *F) { return Addr; // Check if function already code gen'd // Make sure we read in the function if it exists in this Module - if (F->hasNotBeenReadFromBytecode()) + if (F->hasNotBeenReadFromBytecode()) try { MP->materializeFunction(F); } catch ( std::string& errmsg ) { |