aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/Interpreter.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-04-21 22:43:08 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-04-21 22:43:08 +0000
commitd1c881a8d4da8b4d99c2a40512fbcca652ab445e (patch)
tree563763a929b9d740e2e930dacd33bf6d9de998f4 /lib/ExecutionEngine/Interpreter/Interpreter.cpp
parentedf128a7fa90f2b0b7ee24741a04a7ae1ecd6f7e (diff)
* Remove trailing whitespace
* Convert tabs to spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21421 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.cpp')
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
index adb26aea64..04b59c0977 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.cpp
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
@@ -1,10 +1,10 @@
//===- Interpreter.cpp - Top-Level LLVM Interpreter Implementation --------===//
-//
+//
// 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 file implements the top-level functionality for the LLVM interpreter.
@@ -50,7 +50,7 @@ ExecutionEngine *Interpreter::create(Module *M, IntrinsicLowering *IL) {
//
Interpreter::Interpreter(Module *M, bool isLittleEndian, bool isLongPointer,
IntrinsicLowering *il)
- : ExecutionEngine(M), ExitCode(0),
+ : ExecutionEngine(M), ExitCode(0),
TD("lli", isLittleEndian, isLongPointer ? 8 : 4, isLongPointer ? 8 : 4,
isLongPointer ? 8 : 4), IL(il) {
@@ -92,13 +92,13 @@ GenericValue Interpreter::runFunction(Function *F,
const unsigned ArgCount = F->getFunctionType()->getNumParams();
for (unsigned i = 0; i < ArgCount; ++i)
ActualArgs.push_back(ArgValues[i]);
-
+
// Set up the function call.
callFunction(F, ActualArgs);
// Start executing the function.
run();
-
+
GenericValue rv;
rv.IntVal = ExitCode;
return rv;