mojo icon indicating copy to clipboard operation
mojo copied to clipboard

[mojo-stdlib] Remove uses of `__get_lvalue_as_address`

Open JoeLoser opened this issue 10 months ago • 1 comments

Review Mojo's priorities

What is your request?

Replace uses of __get_lvalue_as_address so we can remove the builtin from the compiler itself. Everything using __get_lvalue_as_address(expr) can move to using Reference(expr) and Reference(expr).get_unsafe_pointer() should theoretically be a mechanical replacement.

What is your motivation for this change?

Doing this will allow us to remove the builtin from the compiler itself.

Any other details?

No response

JoeLoser avatar Mar 28 '24 19:03 JoeLoser