| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| case _POP_TOP_LOAD_CONST_INLINE: | ||
| case _POP_TOP_LOAD_CONST_INLINE_BORROW: | ||
| last->opcode = _NOP; | ||
| goto optimize_pop_top_again; | ||
| case _COPY: | ||
| case _LOAD_CONST_INLINE: | ||
| case _LOAD_CONST_INLINE_BORROW: | ||
| case _LOAD_FAST: | ||
| case _LOAD_FAST_BORROW: | ||
| case _LOAD_SMALL_INT: | ||
| last->opcode = _NOP; | ||
| if (opcode == _POP_TOP) { | ||
| opcode = buffer[pc].opcode = _NOP; | ||
| } | ||
| else if (opcode == _POP_TOP_LOAD_CONST_INLINE) { | ||
| opcode = buffer[pc].opcode = _LOAD_CONST_INLINE; | ||
| } | ||
| else if (opcode == _POP_TOP_LOAD_CONST_INLINE_BORROW) { | ||
| opcode = buffer[pc].opcode = _LOAD_CONST_INLINE_BORROW; | ||
| } | ||
| else { | ||
| assert(opcode == _POP_TWO_LOAD_CONST_INLINE_BORROW); | ||
| opcode = buffer[pc].opcode = _POP_TOP_LOAD_CONST_INLINE_BORROW; | ||
| goto optimize_pop_top_again; | ||
| } |
There was a problem hiding this comment.
feels good 🤩
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
When setting the type version, we should also set the type (if possible). We can use this to narrow unknown classes to constants in uops like _CHECK_ATTR_CLASS.
(Also, fix a couple of cases where we were incorrectly detecting contradictions when updating some symbols.)