Feature or enhancement
Proposal:
DELETE_GLOBAL could be removed by making STORE_GLOBAL handle a NULL value and replacing DELETE_GLOBAL with PUSH_NULL; STORE_GLOBAL.
This wouldn't have an effect on performance or code size, as STORE_GLOBAL would also need to do the job of DELETE_GLOBAL but it would free up an opcode for future use. Also, once #145854 and #145855 are implemented, it would make the bytecode for deletion more consistent.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Linked PRs
Feature or enhancement
Proposal:
DELETE_GLOBALcould be removed by makingSTORE_GLOBALhandle aNULLvalue and replacingDELETE_GLOBALwithPUSH_NULL; STORE_GLOBAL.This wouldn't have an effect on performance or code size, as
STORE_GLOBALwould also need to do the job ofDELETE_GLOBALbut it would free up an opcode for future use. Also, once #145854 and #145855 are implemented, it would make the bytecode for deletion more consistent.Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Linked PRs
DELETE_GLOBALwithPUSH_NULL; STORE_GLOBAL#146314