shiika icon indicating copy to clipboard operation
shiika copied to clipboard

Collect lambda information in MIR

Open yhara opened this issue 2 years ago • 0 comments

Since #433, lib/skc_codegen/src/lambda.rs traverses the HIR twice (once by gen_lambda_funcs and once by gen_lambda_capture_structs). This could be refactored by collecting lambda information in advance of codegen (i.e. lib/skc_mir).

yhara avatar Dec 14 '22 04:12 yhara