diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-22 04:08:30 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-22 04:08:30 +0000 |
commit | 3c94497ec7852eccd68c1bc1663e8ac2a7bb1ab9 (patch) | |
tree | 8ea25aedce956722659fcc377605a326d05c1015 /lib/ExecutionEngine | |
parent | dedf2bd5a34dac25e4245f58bb902ced6b64edd9 (diff) |
Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21440 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | 6 | ||||
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Interpreter.cpp | 5 | ||||
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Interpreter.h | 4 | ||||
-rw-r--r-- | lib/ExecutionEngine/JIT/JITEmitter.cpp | 2 |
4 files changed, 9 insertions, 8 deletions
diff --git a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp index 9137fc52da..20b7227809 100644 --- a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp +++ b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp @@ -560,7 +560,7 @@ GenericValue lle_X_memcpy(FunctionType *M, const vector<GenericValue> &Args) { GenericValue lle_X_fopen(FunctionType *M, const vector<GenericValue> &Args) { assert(Args.size() == 2); return PTOGV(fopen((const char *)GVTOP(Args[0]), - (const char *)GVTOP(Args[1]))); + (const char *)GVTOP(Args[1]))); } // int fclose(FILE *F); @@ -604,14 +604,14 @@ GenericValue lle_X_fwrite(FunctionType *M, const vector<GenericValue> &Args) { GenericValue lle_X_fgets(FunctionType *M, const vector<GenericValue> &Args) { assert(Args.size() == 3); return GVTOP(fgets((char*)GVTOP(Args[0]), Args[1].IntVal, - getFILE(GVTOP(Args[2])))); + getFILE(GVTOP(Args[2])))); } // FILE *freopen(const char *path, const char *mode, FILE *stream); GenericValue lle_X_freopen(FunctionType *M, const vector<GenericValue> &Args) { assert(Args.size() == 3); return PTOGV(freopen((char*)GVTOP(Args[0]), (char*)GVTOP(Args[1]), - getFILE(GVTOP(Args[2])))); + getFILE(GVTOP(Args[2])))); } // int fflush(FILE *stream); diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/lib/ExecutionEngine/Interpreter/Interpreter.cpp index 04b59c0977..c74ef9b86d 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.cpp +++ b/lib/ExecutionEngine/Interpreter/Interpreter.cpp @@ -77,8 +77,9 @@ void Interpreter::runAtExitHandlers () { /// run - Start execution with the specified function and arguments. /// -GenericValue Interpreter::runFunction(Function *F, - const std::vector<GenericValue> &ArgValues) { +GenericValue +Interpreter::runFunction(Function *F, + const std::vector<GenericValue> &ArgValues) { assert (F && "Function *F was null at entry to run()"); // Try extra hard not to pass extra args to a function that isn't diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h index 19ec64d0c1..2e83f5e7c6 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -175,7 +175,7 @@ public: //FIXME: private: public: GenericValue executeGEPOperation(Value *Ptr, gep_type_iterator I, - gep_type_iterator E, ExecutionContext &SF); + gep_type_iterator E, ExecutionContext &SF); private: // Helper functions // SwitchToNewBasicBlock - Start execution in a new basic block and run any @@ -191,7 +191,7 @@ private: // Helper functions GenericValue getConstantExprValue(ConstantExpr *CE, ExecutionContext &SF); GenericValue getOperandValue(Value *V, ExecutionContext &SF); GenericValue executeCastOperation(Value *SrcVal, const Type *Ty, - ExecutionContext &SF); + ExecutionContext &SF); void popStackAndReturnValueToCaller(const Type *RetTy, GenericValue Result); }; diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index 0905eb18e8..301f5e77ee 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -443,7 +443,7 @@ void JITEmitter::emitWordAt(unsigned W, unsigned *Ptr) { // uint64_t JITEmitter::getConstantPoolEntryAddress(unsigned ConstantNum) { assert(ConstantNum < ConstantPoolAddresses.size() && - "Invalid ConstantPoolIndex!"); + "Invalid ConstantPoolIndex!"); return (intptr_t)ConstantPoolAddresses[ConstantNum]; } |