Skip to content

Commit

Permalink
confprog: don't return null from filename()
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Jul 16, 2019
1 parent 9cf16bb commit e07c0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/profiler/configuration.c
Expand Up @@ -929,7 +929,7 @@ MVMint64 MVM_confprog_run(MVMThreadContext *tc, void *subject, MVMuint8 entrypoi
cur_op += 2;
MVM_code_location_out(tc, code_obj, &file_out, &line_out);
if (ins == MVM_OP_smrt_strify) {
GET_REG(cur_op, 0).s = file_out;
GET_REG(cur_op, 0).s = file_out ? file_out : tc->instance->str_consts.empty;
}
else {
GET_REG(cur_op, 0).i64 = line_out;
Expand Down

0 comments on commit e07c0f2

Please sign in to comment.