mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
No longer run atExit functions from run()
rename run to runFunction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10609 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -69,7 +69,7 @@ void Interpreter::runAtExitHandlers () {
|
||||
|
||||
/// run - Start execution with the specified function and arguments.
|
||||
///
|
||||
GenericValue Interpreter::run(Function *F,
|
||||
GenericValue Interpreter::runFunction(Function *F,
|
||||
const std::vector<GenericValue> &ArgValues) {
|
||||
assert (F && "Function *F was null at entry to run()");
|
||||
|
||||
@@ -91,9 +91,6 @@ GenericValue Interpreter::run(Function *F,
|
||||
// Start executing the function.
|
||||
run();
|
||||
|
||||
// Run any atexit handlers now!
|
||||
runAtExitHandlers();
|
||||
|
||||
GenericValue rv;
|
||||
rv.IntVal = ExitCode;
|
||||
return rv;
|
||||
|
Reference in New Issue
Block a user