A few fixes from the switch to a stack based buffer in function calls. Parameters of an enum type should also now be properly emitted to use that enum's type.