diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-15 02:45:52 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-15 02:45:52 +0900 |
| commit | 71354b91cb48ff3a5c1e3c09492d18a3c30efcb9 (patch) | |
| tree | b5d7040f11c3703d51c8dee1d6e2a0f57a9e4046 /src/vm.c | |
| parent | 16b34d187ae668eaf203efaeccc1d7c5a05142f5 (diff) | |
| download | mruby-71354b91cb48ff3a5c1e3c09492d18a3c30efcb9.tar.gz mruby-71354b91cb48ff3a5c1e3c09492d18a3c30efcb9.zip | |
enum mrb_vtype varies on compile time configuration, namely MRB_NAN_BOXING
Diffstat (limited to 'src/vm.c')
| -rw-r--r-- | src/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -618,7 +618,7 @@ mrb_context_run(mrb_state *mrb, struct RProc *proc, mrb_value self, unsigned int CASE(OP_LOADL) { /* A Bx R(A) := Pool(Bx) */ - if (pool[GETARG_Bx(i)].type == MRB_TT_FLOAT) + if (pool[GETARG_Bx(i)].type == IREP_TT_FLOAT) SET_FLT_VALUE(mrb, regs[GETARG_A(i)], pool[GETARG_Bx(i)].value.f); else SET_INT_VALUE(regs[GETARG_A(i)], pool[GETARG_Bx(i)].value.i); |
