The interpreter assumes that the caller of runFunction() must be lli, and
authorJeff Cohen <jeffc@jolt-lang.org>
Tue, 7 Feb 2006 05:29:44 +0000 (05:29 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Tue, 7 Feb 2006 05:29:44 +0000 (05:29 +0000)
commit8c9191c644cf8c3aceac8e0d1ddc72273355588c
tree2982cbadc6785aeadebe45d9f05c36d88089259d
parent68835dd5119150383938c701fc223077d2bc1e25
The interpreter assumes that the caller of runFunction() must be lli, and
therefore the function being called must be a main() returning an int.  The
consequences when these assumptions are false are not good, so don't assume
them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26031 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/Interpreter/Execution.cpp
lib/ExecutionEngine/Interpreter/Interpreter.cpp
lib/ExecutionEngine/Interpreter/Interpreter.h