mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 04:24:37 +03:00
Mark _globalOptions as well as _lastError in CodeEmitter::setLastError()
This commit is contained in:
@@ -135,6 +135,7 @@ Error CodeEmitter::setLastError(Error error, const char* message) {
|
|||||||
// to terminate the execution of `setLastError()`. This is the reason why
|
// to terminate the execution of `setLastError()`. This is the reason why
|
||||||
// we have delayed changing the `_error` member until now.
|
// we have delayed changing the `_error` member until now.
|
||||||
_lastError = error;
|
_lastError = error;
|
||||||
|
_globalOptions |= kOptionMaybeFailureCase;
|
||||||
|
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user