Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
We have a number of instructions that are complicated and executed fairly rarely. For exampleMAP_KEYS,CHECK_EG_MATCH,CLEANUP_THROW.
These bulk out the interpreter, possibly slowing things down.
We should move code from these into helper functions, which can be called though a table fromCALL_INTRINSIC instruction.
TheCALL_INTRINSIC instruction also provides a means for contributors to add new functionality without a deep understanding of the compiler.
Candidates for moving intoCALL_INTRINSIC are:
- SETUP_ANNOTATIONS
- LOAD_BUILD_CLASS
- MATCH_KEYS
- CHECK_EG_MATCH
- CLEANUP_THROW