Signed-off-by: Tomek Grabiec <tgrab...@gmail.com> --- include/jit/instruction.h | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 include/jit/instruction.h
diff --git a/include/jit/instruction.h b/include/jit/instruction.h new file mode 100644 index 0000000..376e278 --- /dev/null +++ b/include/jit/instruction.h @@ -0,0 +1,12 @@ +#ifndef JATO_JIT_INSTRUCTION_H +#define JATO_JIT_INSTRUCTION_H + +#include "arch/instruction.h" +#include "lib/list.h" + +static inline struct insn *next_insn(struct insn *insn) +{ + return list_entry(insn->insn_list_node.next, struct insn, insn_list_node); +} + +#endif /* JATO_JIT_INSTRUCTION_H */ -- 1.6.3.3 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel