comparison src/share/vm/adlc/output_h.cpp @ 14437:15120a36272d

8028767: PPC64: (part 121): smaller shared changes needed to build C2 Summary: smaller shared changes required to build the C2 compiler on PPC64. Reviewed-by: kvn
author goetz
date Thu, 21 Nov 2013 19:00:57 -0800
parents 318d0622a6d7
children 41b780b43b74
comparison
equal deleted inserted replaced
14436:b0133e4187d3 14437:15120a36272d
24 24
25 // output_h.cpp - Class HPP file output routines for architecture definition 25 // output_h.cpp - Class HPP file output routines for architecture definition
26 #include "adlc.hpp" 26 #include "adlc.hpp"
27 27
28 // The comment delimiter used in format statements after assembler instructions. 28 // The comment delimiter used in format statements after assembler instructions.
29 #if defined(PPC64)
30 #define commentSeperator "\t//"
31 #else
29 #define commentSeperator "!" 32 #define commentSeperator "!"
33 #endif
30 34
31 // Generate the #define that describes the number of registers. 35 // Generate the #define that describes the number of registers.
32 static void defineRegCount(FILE *fp, RegisterForm *registers) { 36 static void defineRegCount(FILE *fp, RegisterForm *registers) {
33 if (registers) { 37 if (registers) {
34 int regCount = AdlcVMDeps::Physical + registers->_rdefs.count(); 38 int regCount = AdlcVMDeps::Physical + registers->_rdefs.count();