[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp Interpreter.cpp Interpreter.h
Misha Brukman
brukman at cs.uiuc.edu
Thu Apr 21 21:06:49 PDT 2005
Changes in directory llvm/lib/ExecutionEngine/Interpreter:
ExternalFunctions.cpp updated: 1.84 -> 1.85
Interpreter.cpp updated: 1.23 -> 1.24
Interpreter.h updated: 1.69 -> 1.70
---
Log message:
Convert tabs to spaces
---
Diffs of the changes: (+8 -7)
ExternalFunctions.cpp | 6 +++---
Interpreter.cpp | 5 +++--
Interpreter.h | 4 ++--
3 files changed, 8 insertions(+), 7 deletions(-)
Index: llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.84 llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.85
--- llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.84 Thu Apr 21 17:43:08 2005
+++ llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp Thu Apr 21 23:06:38 2005
@@ -560,7 +560,7 @@
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_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);
Index: llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp:1.23 llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp:1.24
--- llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp:1.23 Thu Apr 21 17:43:08 2005
+++ llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp Thu Apr 21 23:06:38 2005
@@ -77,8 +77,9 @@
/// 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
Index: llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
diff -u llvm/lib/ExecutionEngine/Interpreter/Interpreter.h:1.69 llvm/lib/ExecutionEngine/Interpreter/Interpreter.h:1.70
--- llvm/lib/ExecutionEngine/Interpreter/Interpreter.h:1.69 Thu Apr 21 17:43:08 2005
+++ llvm/lib/ExecutionEngine/Interpreter/Interpreter.h Thu Apr 21 23:06:38 2005
@@ -175,7 +175,7 @@
//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 @@
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);
};
More information about the llvm-commits
mailing list