removed obsolete scalar value promotion optimization