optimizer: handle GlobalRef
based on assume_bindings_static
#54148
+38
−16
GlobalRef
based on assume_bindings_static
#54148