1 |
/* |
/* |
2 |
* Copyright (c) 2014 - 2017 Christian Schoenebeck and Andreas Persson |
* Copyright (c) 2014 - 2019 Christian Schoenebeck and Andreas Persson |
3 |
* |
* |
4 |
* http://www.linuxsampler.org |
* http://www.linuxsampler.org |
5 |
* |
* |
1066 |
} |
} |
1067 |
} |
} |
1068 |
|
|
1069 |
|
ExecContext::ExecContext() : |
1070 |
|
status(VM_EXEC_NOT_RUNNING), flags(STMT_SUCCESS), stackFrame(-1), |
1071 |
|
suspendMicroseconds(0), instructionsCount(0) |
1072 |
|
{ |
1073 |
|
exitRes.value = NULL; |
1074 |
|
} |
1075 |
|
|
1076 |
void ExecContext::forkTo(VMExecContext* ectx) const { |
void ExecContext::forkTo(VMExecContext* ectx) const { |
1077 |
ExecContext* child = dynamic_cast<ExecContext*>(ectx); |
ExecContext* child = dynamic_cast<ExecContext*>(ectx); |
1078 |
|
|