Remove Rotate* & Duplicate* instructions#6303
Conversation
WalkthroughThis PR removes four deprecated bytecode instruction variants (Rotate2, Rotate3, Duplicate, Duplicate2) from the instruction set and replaces all usages with newer equivalents (CopyItem and Swap). Changes span the code generator, bytecode definition, JIT testing, and VM frame execution layers. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45–75 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
💤 Files with no reviewable changes (2)
🧰 Additional context used📓 Path-based instructions (2)**/*.rs📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/src/**/*.rs📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (9)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@youknowone When running this on my local machine I had to cleanup all |
We'd better not to change it on same magic number, yep. But we didn't address it anywhere yet. |
Implementing python/cpython#30902
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.