mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed script crashes
This commit is contained in:
parent
ea78d96bc3
commit
f857116f75
4 changed files with 178 additions and 125 deletions
|
@ -93,6 +93,7 @@ public:
|
|||
char PrevVarStackOffset();
|
||||
void AbsorbPrevOpcode();
|
||||
void ClearPrevOpcode();
|
||||
void AccumulatePrevOpcode(int opcode, int iVarStackOffset);
|
||||
|
||||
void AddBreakJumpLocation(unsigned char *pos);
|
||||
void AddContinueJumpLocation(unsigned char *pos);
|
||||
|
@ -129,7 +130,8 @@ public:
|
|||
void EmitLabel(str name, unsigned int sourcePos);
|
||||
void EmitLabelParameterList(sval_t parameter_list, unsigned int sourcePos);
|
||||
void EmitLabelPrivate(str name, unsigned int sourcePos);
|
||||
void EmitLogicJump(sval_t logic_stmt, bool isOr, unsigned int sourcePos);
|
||||
void EmitAndJump(sval_t logic_stmt, unsigned int sourcePos);
|
||||
void EmitOrJump(sval_t logic_stmt, unsigned int sourcePos);
|
||||
void EmitMakeArray(sval_t val);
|
||||
void EmitMethodExpression(int iParamCount, int eventnum, unsigned int sourcePos);
|
||||
void EmitNil(unsigned int sourcePos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue