forked from qmonnet/rbpf
-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor - reduce usage of
REGISTER_OTHER_SCRATCH
(#596)
* Clobbers the scratch register in emit_sanitized_alu(). * Clobbers the result register in emit_set_exception_kind(). * Adjusts instruction meter first to free scratch register. * Moves self.emit_validate_instruction_count() into ANCHOR_ANCHOR_INTERNAL_FUNCTION_CALL_PROLOGUE. * Moves self.emit_profile_instruction_count() into ANCHOR_ANCHOR_INTERNAL_FUNCTION_CALL_REG. * Adds comments for ANCHOR_ANCHOR_INTERNAL_FUNCTION_CALL_REG. * Adds tail call optimization in ANCHOR_ANCHOR_INTERNAL_FUNCTION_CALL_REG. * Removes REGISTER_OTHER_SCRATCH from ANCHOR_ANCHOR_INTERNAL_FUNCTION_CALL_REG.
- Loading branch information
Showing
2 changed files
with
53 additions
and
34 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