Remove raw_instr.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
Ruben Ayrapetyan
2015-07-28 18:58:03 +03:00
parent 173becc3ac
commit cbdc48a1fc
4 changed files with 29 additions and 33 deletions
+8 -6
View File
@@ -257,6 +257,14 @@ typedef struct vm_instr_t
} opcode_name;
#include "vm-opcodes.inc.h"
/**
* Opcode-independent arguments accessor
*
* Note:
* If opcode is statically known, opcode-specific way of accessing arguments should be used.
*/
vm_idx_t raw_args[3];
} data;
} vm_instr_t;
@@ -300,10 +308,4 @@ typedef ecma_completion_value_t (*opfunc) (vm_instr_t, vm_frame_ctx_t *);
#include "vm-opcodes.inc.h"
typedef struct
{
uint8_t uids[4];
} raw_instr;
#endif /* OPCODES_H */