Skip to content
Commit e1f9e65b authored by Jacques Pienaar's avatar Jacques Pienaar Committed by jpienaar
Browse files

Enable constructing a FuncBuilder using a Operation*.

FuncBuilder is useful to build a operation to replace an existing operation, so change the constructor to allow constructing it with an existing operation. Change FuncBuilder to contain (effectively) a tagged union of CFGFuncBuilder and MLFuncBuilder (as these should be cheap to copy and avoid allocating/deletion when created via a operation).

PiperOrigin-RevId: 219532952
parent 8201e19e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment