diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-11-05 04:11:40 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-11-05 04:11:40 +0000 |
commit | 7cf540bba0b262681a14058d01ad41a87ac870df (patch) | |
tree | e9590f106103681c43395f557545964db66228d9 /examples | |
parent | 28dd2fc240749d77d4251b4a29b8cace2a65460c (diff) | |
download | external_llvm-7cf540bba0b262681a14058d01ad41a87ac870df.zip external_llvm-7cf540bba0b262681a14058d01ad41a87ac870df.tar.gz external_llvm-7cf540bba0b262681a14058d01ad41a87ac870df.tar.bz2 |
Clean up code layout, delete extra blank line, say `fibonacci' instead of `foo'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Fibonacci/fibonacci.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/Fibonacci/fibonacci.cpp b/examples/Fibonacci/fibonacci.cpp index 93b58d1..aee1405 100644 --- a/examples/Fibonacci/fibonacci.cpp +++ b/examples/Fibonacci/fibonacci.cpp @@ -50,7 +50,6 @@ static Function *CreateFibFunction(Module *M) { Argument *ArgX = FibF->abegin(); // Get the arg. ArgX->setName("AnArg"); // Give it a nice symbolic name for fun. - // Create the true_block. BasicBlock *RetBB = new BasicBlock("return", FibF); // Create an exit block. @@ -103,10 +102,9 @@ int main(int argc, char **argv) { std::cerr << "OK\n"; std::cerr << "We just constructed this LLVM module:\n\n---------\n" << *M; - std::cerr << "---------\nstarting fibonacci(" - << n << ") with JIT...\n"; + std::cerr << "---------\nstarting fibonacci(" << n << ") with JIT...\n"; - // Call the `foo' function with argument n: + // Call the Fibonacci function with argument n: std::vector<GenericValue> Args(1); Args[0].IntVal = n; GenericValue GV = EE->runFunction(FibF, Args); |