Function compileIntrinsicRecord

Compile the intrinsic record. This function is also available at the aran/runtime entry point which is much lightweight as it does not contain code related to instrumentation.