1 #ifndef INTERPRETER_LOCALOPCODES_H_INCLUDED
2 #define INTERPRETER_LOCALOPCODES_H_INCLUDED
17 int index = runtime[1].mInteger;
33 int index = runtime[1].mInteger;
49 int index = runtime[1].mInteger;
65 runtime[0].mInteger = intValue;
76 runtime[0].mFloat = floatValue;
86 int index = runtime[0].mInteger;
88 runtime[0].mInteger = value;
98 int index = runtime[0].mInteger;
100 runtime[0].mInteger = value;
110 int index = runtime[0].mInteger;
112 runtime[0].mFloat = value;
123 int index = runtime[1].mInteger;
141 int index = runtime[1].mInteger;
159 int index = runtime[1].mInteger;
176 int index = runtime[0].mInteger;
179 runtime[0].mInteger = value;
189 int index = runtime[0].mInteger;
192 runtime[0].mInteger = value;
202 int index = runtime[0].mInteger;
205 runtime[0].mFloat = value;
222 index = runtime[2].mInteger;
246 index = runtime[2].mInteger;
270 index = runtime[2].mInteger;
293 index = runtime[1].mInteger;
298 runtime[0].mInteger = value;
314 index = runtime[1].mInteger;
319 runtime[0].mInteger = value;
335 index = runtime[1].mInteger;
340 runtime[0].mFloat = value;
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:174
virtual void setMemberShort(const std::string &id, const std::string &name, int value, bool global)=0
Definition: localopcodes.hpp:58
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:84
Definition: localopcodes.hpp:116
bool mGlobal
Definition: localopcodes.hpp:211
Definition: localopcodes.hpp:69
Definition: localopcodes.hpp:26
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:241
virtual float getLocalFloat(int index) const =0
void pop()
pop stack
Definition: runtime.cpp:94
OpStoreMemberLong(bool global)
Definition: localopcodes.hpp:239
bool mGlobal
Definition: localopcodes.hpp:325
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:310
Definition: localopcodes.hpp:10
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:73
Definition: localopcodes.hpp:233
std::string getStringLiteral(int index) const
Definition: runtime.cpp:34
Runtime data and engine interface.
Definition: runtime.hpp:15
virtual void setGlobalFloat(const std::string &name, float value)=0
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:265
opcode for 0 arguments
Definition: opcodes.hpp:9
virtual void setMemberFloat(const std::string &id, const std::string &name, float value, bool global)=0
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:46
virtual int getLocalLong(int index) const =0
virtual void setMemberLong(const std::string &id, const std::string &name, int value, bool global)=0
bool mGlobal
Definition: localopcodes.hpp:235
OpStoreMemberShort(bool global)
Definition: localopcodes.hpp:215
virtual int getMemberShort(const std::string &id, const std::string &name, bool global) const =0
virtual int getMemberLong(const std::string &id, const std::string &name, bool global) const =0
float getFloatLiteral(int index) const
Definition: runtime.cpp:25
virtual float getMemberFloat(const std::string &id, const std::string &name, bool global) const =0
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:30
Definition: localopcodes.hpp:92
Definition: localopcodes.hpp:323
Definition: localopcodes.hpp:257
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:156
Definition: localopcodes.hpp:170
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:289
virtual int getGlobalLong(const std::string &name) const =0
OpFetchMemberShort(bool global)
Definition: localopcodes.hpp:287
Definition: localopcodes.hpp:152
virtual void setLocalFloat(int index, float value)=0
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:331
virtual float getGlobalFloat(const std::string &name) const =0
virtual int getGlobalShort(const std::string &name) const =0
Definition: localopcodes.hpp:302
virtual void setLocalLong(int index, int value)=0
virtual void setGlobalLong(const std::string &name, int value)=0
Definition: localopcodes.hpp:104
Definition: localopcodes.hpp:209
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:138
Definition: localopcodes.hpp:42
virtual int getLocalShort(int index) const =0
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:108
virtual void setGlobalShort(const std::string &name, int value)=0
Definition: localopcodes.hpp:281
int getIntegerLiteral(int index) const
Definition: runtime.cpp:16
Definition: localopcodes.hpp:80
Context & getContext()
Definition: runtime.cpp:110
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:14
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:200
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:187
float Type_Float
Definition: types.hpp:16
virtual void setLocalShort(int index, int value)=0
OpFetchMemberLong(bool global)
Definition: localopcodes.hpp:308
Definition: localopcodes.hpp:183
Definition: localopcodes.hpp:196
bool mGlobal
Definition: localopcodes.hpp:283
bool mGlobal
Definition: localopcodes.hpp:304
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:120
Definition: localopcodes.hpp:134
OpStoreMemberFloat(bool global)
Definition: localopcodes.hpp:263
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:62
bool mGlobal
Definition: localopcodes.hpp:259
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:96
OpFetchMemberFloat(bool global)
Definition: localopcodes.hpp:329
const char * name
Definition: crashcatcher.cpp:59
virtual void execute(Runtime &runtime)
Definition: localopcodes.hpp:217