MySQL 9.1.0
Source Code Documentation
|
An interface for all SP-instructions with destinations that need to be updated by the SP-optimizer. More...
#include <sp_instr.h>
Public Member Functions | |
virtual void | set_destination (uint old_dest, uint new_dest)=0 |
Update the destination; used by the SP-instruction-optimizer. More... | |
virtual void | backpatch (uint dest)=0 |
Update all instruction with the given label in the backpatch list to the specified instruction pointer. More... | |
virtual | ~sp_branch_instr ()=default |
An interface for all SP-instructions with destinations that need to be updated by the SP-optimizer.
|
virtualdefault |
|
pure virtual |
Update all instruction with the given label in the backpatch list to the specified instruction pointer.
dest | destination instruction pointer. |
Implemented in sp_instr_jump, sp_lex_branch_instr, sp_instr_hpush_jump, and sp_instr_set_case_expr.
|
pure virtual |
Update the destination; used by the SP-instruction-optimizer.
old_dest | current (old) destination (instruction pointer). |
new_dest | new destination (instruction pointer). |
Implemented in sp_instr_jump, sp_lex_branch_instr, and sp_instr_set_case_expr.