IR: a bunch of fixes and some additions

* add errorName builtin function
 * add assertion for generated memcopy being on correct types
 * respect handle_is_ptr for constant values
 * fix return codegen to respect sret semantics
 * remove ArrayLen IR instruction; we already have StructFieldPtr
   with "len" field
 * fix gen_const_val for pointers inside aggregates
7d0fb281feAndrew Kelley committed on 12/8/2016, 6:52:57 AMparenta148096
6 files changedLine totals unavailable