line 320:
original: "valtree back a to MIR constant"
updated: "valtree back to a MIR constant"
This commit is contained in:
flash 2024-08-19 11:08:49 -07:00 committed by GitHub
parent d194bc5607
commit 98926c5e61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ compile-time and thus we cannot make any assumptions about them. References on t
ignore their address and just look at the backing value. We must make sure that the pointer values ignore their address and just look at the backing value. We must make sure that the pointer values
of the references are not observable at compile time. We thus encode `&42` exactly like `42`. of the references are not observable at compile time. We thus encode `&42` exactly like `42`.
Any conversion from Any conversion from
valtree back a to MIR constant value must reintroduce an actual indirection. At codegen time the valtree back to a MIR constant value must reintroduce an actual indirection. At codegen time the
addresses may be deduplicated between multiple uses or not, entirely depending on arbitrary addresses may be deduplicated between multiple uses or not, entirely depending on arbitrary
optimization choices. optimization choices.