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 fe586a6 commit 3bcdd87Copy full SHA for 3bcdd87
base/compiler/ssair/verify.jl
@@ -202,6 +202,10 @@ function verify_ir(ir::IRCode, print::Bool=true)
202
@verify_error "SSAValue as assignment LHS"
203
error("")
204
end
205
+ if stmt.args[2] isa GlobalRef
206
+ # undefined GlobalRef as assignment RHS is OK
207
+ continue
208
+ end
209
elseif stmt.head === :gc_preserve_end
210
# We allow gc_preserve_end tokens to span across try/catch
211
# blocks, which isn't allowed for regular SSA values, so
0 commit comments