fix type_is_codegen_pointer being used incorrectly

The names of these functions should probably change, but at least
the semantics are correct now:
 * type_is_codegen_pointer - the type is either a fn, ptr, or promise
 * get_codegen_ptr_type -
   - ?&T and &T returns &T
   - ?promise and promise returns promise
   - ?fn()void and fn()void returns fn()void
   - otherwise returns nullptr
40dbcd09daAndrew Kelley committed on 2/23/2018, 5:49:21 PMparent99985ad
3 files changedLine totals unavailable