Open fabianschuiki opened 3 years ago
The lower::rvalue::Builder and lower::lvalue::Builder structs are identical, except for their handling of build. Factor these out into a single lower::Builder, with separate build_rvalue and build_lvalue functions.
lower::rvalue::Builder
lower::lvalue::Builder
build
lower::Builder
build_rvalue
build_lvalue
The
lower::rvalue::Builder
andlower::lvalue::Builder
structs are identical, except for their handling ofbuild
. Factor these out into a singlelower::Builder
, with separatebuild_rvalue
andbuild_lvalue
functions.