~ubuntu-branches/ubuntu/trusty/luajit/trusty

« back to all changes in this revision

Viewing changes to src/lj_iropt.h

  • Committer: Bazaar Package Importer
  • Author(s): Enrico Tassi
  • Date: 2011-05-09 23:14:21 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20110509231421-zdcnqbqk5h6iryxr
Tags: 2.0.0~beta7+dfsg-1
New upstream release with arm support

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
LJ_FUNC void lj_ir_kvalue(lua_State *L, TValue *tv, const IRIns *ir);
83
83
 
84
84
/* Convert IR operand types. */
 
85
LJ_FUNC TRef LJ_FASTCALL lj_ir_tonumber(jit_State *J, TRef tr);
85
86
LJ_FUNC TRef LJ_FASTCALL lj_ir_tonum(jit_State *J, TRef tr);
86
87
LJ_FUNC TRef LJ_FASTCALL lj_ir_tostr(jit_State *J, TRef tr);
87
 
LJ_FUNC TRef LJ_FASTCALL lj_ir_tobit(jit_State *J, TRef tr);
88
 
LJ_FUNC TRef LJ_FASTCALL lj_ir_toint(jit_State *J, TRef tr);
89
88
 
90
89
/* Miscellaneous IR ops. */
91
90
LJ_FUNC int lj_ir_numcmp(lua_Number a, lua_Number b, IROp op);
134
133
 
135
134
/* Narrowing. */
136
135
LJ_FUNC TRef LJ_FASTCALL lj_opt_narrow_convert(jit_State *J);
 
136
LJ_FUNC TRef LJ_FASTCALL lj_opt_narrow_index(jit_State *J, TRef key);
 
137
LJ_FUNC TRef LJ_FASTCALL lj_opt_narrow_toint(jit_State *J, TRef tr);
 
138
LJ_FUNC TRef LJ_FASTCALL lj_opt_narrow_tobit(jit_State *J, TRef tr);
 
139
#if LJ_HASFFI
 
140
LJ_FUNC TRef LJ_FASTCALL lj_opt_narrow_cindex(jit_State *J, TRef key);
 
141
#endif
 
142
LJ_FUNC TRef lj_opt_narrow_arith(jit_State *J, TRef rb, TRef rc,
 
143
                                 TValue *vb, TValue *vc, IROp op);
 
144
LJ_FUNC TRef lj_opt_narrow_unm(jit_State *J, TRef rc, TValue *vc);
137
145
LJ_FUNC TRef lj_opt_narrow_mod(jit_State *J, TRef rb, TRef rc);
138
146
LJ_FUNC TRef lj_opt_narrow_pow(jit_State *J, TRef rb, TRef rc, TValue *vc);
139
 
LJ_FUNC IRType lj_opt_narrow_forl(cTValue *forbase);
 
147
LJ_FUNC IRType lj_opt_narrow_forl(jit_State *J, cTValue *forbase);
140
148
 
141
149
/* Optimization passes. */
142
150
LJ_FUNC void lj_opt_dce(jit_State *J);