Skip to content

Commit

Permalink
Apply vtjnash's suggested change to src/intrinsics.cpp
Browse files Browse the repository at this point in the history
Co-Authored-By: NHDaly <[email protected]>
  • Loading branch information
vtjnash and NHDaly committed Mar 22, 2019
1 parent 0d0b853 commit 8df4de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/intrinsics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ static jl_cgval_t emit_pointerref(jl_codectx_t &ctx, jl_cgval_t *argv)
return typed_load(ctx, thePtr, im1, ety, tbaa_data, nullptr, true, align_nb);
}
else {
return mark_julia_const(((jl_datatype_t*)ety)->instance);
return ghostValue(ety);
}
}
}
Expand Down

0 comments on commit 8df4de4

Please sign in to comment.