diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 06cf06970a8..d075a9cd280 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -334,7 +334,7 @@ jobs: - name: Ensure Lib/_opcode_metadata is updated run: | python scripts/generate_opcode_metadata.py - if [ -z "$(git status --porcelain)" ]; then + if [ -n "$(git status --porcelain)" ]; then exit 1 fi diff --git a/Lib/_opcode_metadata.py b/Lib/_opcode_metadata.py index 5cfb2f40f34..e72a76a576c 100644 --- a/Lib/_opcode_metadata.py +++ b/Lib/_opcode_metadata.py @@ -4,10 +4,6 @@ _specializations = {} - - - - _specialized_opmap = {} opmap = { @@ -141,7 +137,6 @@ 'JUMP_IF_TRUE_OR_POP': 130, 'JUMP_IF_NOT_EXC_MATCH': 131, 'LOAD_CLASS_DEREF': 132, - 'REVERSE': 133, 'SET_EXC_INFO': 134, 'SUBSCRIPT': 135, 'RESUME': 149, diff --git a/crates/compiler-core/src/bytecode.rs b/crates/compiler-core/src/bytecode.rs index 5020be27c94..0c4522e9f99 100644 --- a/crates/compiler-core/src/bytecode.rs +++ b/crates/compiler-core/src/bytecode.rs @@ -932,9 +932,6 @@ pub enum Instruction { } = 130, JumpIfNotExcMatch(Arg