Introduce intrinsics for VM operations. #855
Labels
compiler
General compiler. Should eventually become more specific as the issue is triaged
enhancement
New feature or request
language feature
Core language features visible to end users
Needs RFC
Features that require an RFC before proceeding with an implementation
P: high
Should be looked at if there are no critical issues left
See #1074
ASM blocks are very hard to optimise for and are generally error prone, as they are untyped and the author often needs to make assumptions about the compiler code generation. In an effort to minimise the need for ASM blocks in the standard library we can make compiler intrinsics which wrap useful VM opcodes such as
MCP
&MEQ
orBAL
&BURN
, etc.The text was updated successfully, but these errors were encountered: