The world's most popular open source database
#include <sp_head.h>
Inheritance diagram for sp_instr_hreturn:


Public Member Functions | |
| sp_instr_hreturn (uint ip, sp_pcontext *ctx, uint fp) | |
| virtual | ~sp_instr_hreturn () |
| virtual int | execute (THD *thd, uint *nextp) |
| virtual void | print (String *str) |
| virtual uint | opt_mark (sp_head *sp) |
Private Member Functions | |
| sp_instr_hreturn (const sp_instr_hreturn &) | |
| void | operator= (sp_instr_hreturn &) |
Private Attributes | |
| uint | m_frame |
Definition at line 935 of file sp_head.h.
| sp_instr_hreturn::sp_instr_hreturn | ( | const sp_instr_hreturn & | ) | [private] |
| sp_instr_hreturn::sp_instr_hreturn | ( | uint | ip, | |
| sp_pcontext * | ctx, | |||
| uint | fp | |||
| ) | [inline] |
| virtual sp_instr_hreturn::~sp_instr_hreturn | ( | ) | [inline, virtual] |
| int sp_instr_hreturn::execute | ( | THD * | thd, | |
| uint * | nextp | |||
| ) | [virtual] |
Reimplemented from sp_instr_jump.
Definition at line 2937 of file sp_head.cc.
References DBUG_ENTER, DBUG_RETURN, and sp_instr_opt_meta::m_dest.
02938 { 02939 DBUG_ENTER("sp_instr_hreturn::execute"); 02940 if (m_dest) 02941 *nextp= m_dest; 02942 else 02943 { 02944 *nextp= thd->spcont->pop_hstack(); 02945 } 02946 thd->spcont->exit_handler(); 02947 DBUG_RETURN(0); 02948 }
| void sp_instr_hreturn::operator= | ( | sp_instr_hreturn & | ) | [private] |
Reimplemented from sp_instr_jump.
Definition at line 2968 of file sp_head.cc.
References sp_instr_opt_meta::m_dest, sp_instr::marked, and sp_instr_jump::opt_mark().
02969 { 02970 if (m_dest) 02971 return sp_instr_jump::opt_mark(sp); 02972 else 02973 { 02974 marked= 1; 02975 return UINT_MAX; 02976 } 02977 }
Here is the call graph for this function:

| void sp_instr_hreturn::print | ( | String * | str | ) | [virtual] |
Reimplemented from sp_instr_jump.
Definition at line 2952 of file sp_head.cc.
References sp_instr_opt_meta::m_dest, m_frame, String::qs_append(), String::reserve(), SP_INSTR_UINT_MAXLEN, and STRING_WITH_LEN.
02953 { 02954 /* hreturn framesize dest */ 02955 if (str->reserve(SP_INSTR_UINT_MAXLEN*2 + 9)) 02956 return; 02957 str->qs_append(STRING_WITH_LEN("hreturn ")); 02958 str->qs_append(m_frame); 02959 if (m_dest) 02960 { 02961 str->qs_append(' '); 02962 str->qs_append(m_dest); 02963 } 02964 }
Here is the call graph for this function:

uint sp_instr_hreturn::m_frame [private] |
1.4.7

