More work on compiler core functions