summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-04-22 04:08:30 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-04-22 04:08:30 +0000
commit5191b4b2d02f2f3c2d3f496e0b822ebab84e0781 (patch)
treeb9a6c899214670754d8fa53120342565a828385d /llvm/lib/ExecutionEngine/Interpreter
parent774511633d24db71d46055b52390b17c37942b48 (diff)
downloadbcm5719-llvm-5191b4b2d02f2f3c2d3f496e0b822ebab84e0781.tar.gz
bcm5719-llvm-5191b4b2d02f2f3c2d3f496e0b822ebab84e0781.zip
Convert tabs to spaces
llvm-svn: 21440
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp6
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp5
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.h4
3 files changed, 8 insertions, 7 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
index 9137fc52daf..20b7227809a 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+++ b/llvm/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/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
index 04b59c09770..c74ef9b86d7 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
+++ b/llvm/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/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
index 19ec64d0c13..2e83f5e7c6d 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/llvm/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);
};
OpenPOWER on IntegriCloud