Generate C++ code for defer(red) expressions.