regalloc.rs icon indicating copy to clipboard operation
regalloc.rs copied to clipboard

Have `Writable<T>` dereference to `T`?

Open bnjbvr opened this issue 5 years ago • 0 comments

If we had Writable<T> dereference to T, then we could use all instances of Writable<T> as if they were T, which would make much better ergonomics than using to_reg(). I haven't spotted a case where the conversion as actually adding more information.

bnjbvr avatar Apr 30 '20 14:04 bnjbvr