// Terminator Instruction Implementations
//===----------------------------------------------------------------------===//
-static void PerformExitStuff() {
+// PerformExitStuff - Print out counters and profiling information if
+// applicable...
+void Interpreter::PerformExitStuff() {
#ifdef PROFILE_STRUCTURE_FIELDS
// Print out structure field accounting information...
if (!FieldAccessCounts.empty()) {
ExitCode = GV.SByteVal;
ECStack.clear();
- PerformExitStuff();
}
void Interpreter::visitReturnInst(ReturnInst &I) {
} else {
ExitCode = 0;
}
-
- PerformExitStuff();
return;
}