Skip to content

Generate Opcode3xx.java instead of hand coding. - #461

Open
fwierzbicki wants to merge 1 commit into
jython:mainfrom
fwierzbicki:opcode-gen
Open

fwierzbicki wants to merge 1 commit into
jython:mainfrom
fwierzbicki:opcode-gen

Conversation

@fwierzbicki

Copy link
Copy Markdown
Member

A generator for opcode so we don't have to redo it by hand as we advance to newer Python versions.

This version ignores all Specialized ("quickened") and instrumented opcodes as cpython only creates them at run time, so they never appear in the code objects we load (from .pyc files or marshal). Because of this I had to delete JUMP_BACKWARD_QUICK from CPython311Frame.java (but we weren't using it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant