rnk accepted this revision. rnk added a comment. This revision is now accepted and ready to land.
lgtm with the suggested simplification. ================ Comment at: lib/CodeGen/TargetInfo.cpp:857 @@ -854,3 +856,3 @@ IsWin32StructABI(Win32StructABI), - IsSoftFloatABI(SoftFloatABI), + IsSoftFloatABI(SoftFloatABI), IsMCUABI(MCUABI), DefaultNumRegisterParameters(NumRegisterParameters) {} ---------------- Rather than taking this as a parameter, how about initializing IsMCUABI with `getTarget().getTriple().isEnvironmentIAMCU()`? Then you can drop a level of parameters. http://reviews.llvm.org/D13978 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits