Code generation for GlobalVariables.