Creating and reading from unaligned pointers is UB and I'm trying to run upb on a platform (GraalVM) that is sensitive to that unfortunately. Recent compilers are smart enough to fold the memcpy down to a simple memory load on platforms that support it, so this should mostly be a aesthetic change.pull/13171/head
parent
9effcbcb27
commit
a73fd86c13
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue