Skip to content

Commit

Permalink
Correct first argument to MVM_panic
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Aug 11, 2018
1 parent 62a99bc commit 1e4b2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/interp.c
Expand Up @@ -5608,7 +5608,7 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex
MVMObject *obj = MVM_gc_allocate_nursery(tc, size);
#if MVM_GC_DEBUG
if (tc->allocate_in_gen2)
MVM_panic(tc, "Illegal use of sp_fastcreate when gen2 allocation flag set");
MVM_panic(1, "Illegal use of sp_fastcreate when gen2 allocation flag set");
#endif
obj->st = (MVMSTable *)tc->cur_frame->effective_spesh_slots[GET_UI16(cur_op, 4)];
obj->header.size = size;
Expand Down

0 comments on commit 1e4b2c8

Please sign in to comment.