Implement condition and while loop emitting.