aboutsummaryrefslogtreecommitdiff
path: root/src/common_memory.cpp
diff options
context:
space:
mode:
authordestroycomputers <destroycomputers@pm.me>2023-04-11 01:11:01 +0200
committerdestroycomputers <destroycomputers@pm.me>2023-04-11 01:11:01 +0200
commitb6f356c2113d6ddb8c3e66d61123181e580b573e (patch)
treec3b1662c247b77c59a47513fe0fa74df0afd2678 /src/common_memory.cpp
parentb052da10657814860402d00ae9434864b7836864 (diff)
Fix intrinsics.alloca code generation
There was a disconnect between the declared return type for alloca intrinsic in check_builtin.cpp (multi_pointer(t_u8)) and the generated result type in llvm_backend_proc.cpp (t_u8_ptr). This allowed slicing the return type, but in the code generation process the type of the expression wasn't sliceable, which triggered the assert. Fixes #2139
Diffstat (limited to 'src/common_memory.cpp')
0 files changed, 0 insertions, 0 deletions