-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: simplify IntrBegin/IntrEnd and their callers
- don't save context in the interpreter; instead, require the caller to do this. That way, the interpreter is fully isolated from the context; and this also enables further refactoring. - do away with the TRY_IF_NO_ERROR/CATCH_ERROR around IntrEnd cals - remove intrReturning temporary variable, use intr->returning directly (it used to be necessary to copy & reset its value, back when this was stored in a global variable; but now we create this fresh on the stack so there's no need for any of this)
- Loading branch information
Showing
3 changed files
with
41 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters