summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Squelch warningChris Lattner2003-09-221-2/+2
| | | | llvm-svn: 8659
* Make CreateArgv part of lli rather than part of ExecutionEngine.Brian Gaeke2003-09-051-56/+33
| | | | | | | | | | | | | | | Switch Interpreter and JIT's "run" methods to take a Function and a vector of GenericValues. Move (almost all of) the stuff that constructs a canonical call to main() into lli (new methods "callAsMain", "makeStringVector"). Nuke getCurrentExecutablePath(), enableTracing(), getCurrentFunction(), isStopped(), and many dead decls from interpreter. Add linux strdup() support to interpreter. Make interpreter's atexit handler runner and JIT's runAtExitHandlers() look more alike, in preparation for refactoring. atexit() is spelled "atexit", not "at_exit". llvm-svn: 8366
* Remove support for interactive (step finish next) instructions.Brian Gaeke2003-09-051-0/+44
| | | | | | | | | Remove printCurrentInstruction, printStackFrame and infoValue (only used interactively) and other unused methods of Interpreter. Fold UserInput.cpp containing only callMainFunction() into Interpreter.cpp. Remove unused Profile flag. llvm-svn: 8359
* Interpreter cleanups:Brian Gaeke2003-09-041-12/+6
| | | | | | | | | | | | Get rid of support for DebugMode (make it always off). Mung some comments. Get rid of interpreter's PROFILE_STRUCTURE_FIELDS and PerformExitStuff which have been disabled forever. Get rid of -abort-on-exception (make it always on). Get rid of user interaction stuff (debug mode innards). Simplify Interpreter's callMainFunction(). llvm-svn: 8344
* ExecutionEngine.cpp: Move execution engine creation stuff into a newBrian Gaeke2003-09-031-4/+2
| | | | | | | | | | | | | | | | | | static method here. Remove some extra blank lines. ExecutionEngine.h: Add its prototype. lli.cpp: Call it. Make creation method for each type of EE into a static method of its own subclass. Interpreter/Interpreter.cpp: ExecutionEngine::createInterpreter --> Interpreter::create Interpreter/Interpreter.h: Likewise. JIT/JIT.cpp: ExecutionEngine::createJIT --> VM::create JIT/VM.h: Likewise. llvm-svn: 8343
* Targets now configure themselves based on the source module, not on theChris Lattner2003-08-241-9/+26
| | | | | | ad-hoc "Config" flags llvm-svn: 8134
* The JIT now passes the environment pointer to the main() function when itJohn Criswell2003-08-211-1/+2
| | | | | | | starts a program. This allows the GNU env program to compile and JIT under LLVM. llvm-svn: 8022
* Add support for atexit function, remove support for __main functionChris Lattner2003-05-141-4/+15
| | | | llvm-svn: 6194
* Make sure that globals are emitted AFTER the passmanager is set up for the JIT,Chris Lattner2003-05-121-0/+1
| | | | | | because the globals may refer to functions that need to be compiled! llvm-svn: 6105
* A large number of simple changes:Chris Lattner2003-05-081-2/+2
| | | | | | | * s/Method/Function * Kill some obsolete (external) functions that used to be to support tracing llvm-svn: 6041
* Remove two fields from TargetData which are target specific.Chris Lattner2003-04-261-1/+0
| | | | llvm-svn: 5963
* MAke sure that LLI properly configures align_of(double)Chris Lattner2003-04-251-0/+1
| | | | llvm-svn: 5938
* Initial checkin of new LLI with JIT compilerChris Lattner2002-12-241-0/+56
llvm-svn: 5126
OpenPOWER on IntegriCloud