Prepare barbecue (high heat). Brush bell peppers, corn, and sweet onion with some olive oil. Grill vegetables until well charred in spots, turning occasionally with tongs and removing pieces as they brown, 10 to 15 minutes. Cool slightly. Cut bell peppers and onion into 1/3-inch pieces. Cut corn off cob.