We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09fafac commit 51d068cCopy full SHA for 51d068c
src/runtime.jl
@@ -171,7 +171,7 @@ end
171
172
# we use `jl_value_ptr`, a Julia pseudo-intrinsic that can be used to box and unbox values
173
174
-@generated function box(val, ::Val{type_name}) where type_name
+@inline @generated function box(val, ::Val{type_name}) where type_name
175
sz = sizeof(val)
176
allocsz = sz + tag_size
177
@@ -180,8 +180,6 @@ end
180
tag = :( type_tag(Val(type_name)) )
181
182
quote
183
- Base.@_inline_meta
184
-
185
ptr = malloc($(Csize_t(allocsz)))
186
187
# store the type tag
0 commit comments