comparison src/share/vm/adlc/output_h.cpp @ 603:dbbe28fc66b5

6778669: Patch from Red Hat -- fixes compilation errors Summary: Some fixes which are required to build on recent GCCs. Reviewed-by: never, kvn Contributed-by: langel@redhat.com
author twisti
date Fri, 27 Feb 2009 03:35:40 -0800
parents f4fe12e429a4
children 98cb887364d3
comparison
equal deleted inserted replaced
602:ed6404fac86b 603:dbbe28fc66b5
1 /* 1 /*
2 * Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
1830 case Form::idealI: 1830 case Form::idealI:
1831 fprintf(fp," return TypeInt::make(opnd_array(1)->constant());\n"); 1831 fprintf(fp," return TypeInt::make(opnd_array(1)->constant());\n");
1832 break; 1832 break;
1833 case Form::idealP: 1833 case Form::idealP:
1834 case Form::idealN: 1834 case Form::idealN:
1835 fprintf(fp," return opnd_array(1)->type();\n",result); 1835 fprintf(fp," return opnd_array(1)->type();\n");
1836 break; 1836 break;
1837 case Form::idealD: 1837 case Form::idealD:
1838 fprintf(fp," return TypeD::make(opnd_array(1)->constantD());\n"); 1838 fprintf(fp," return TypeD::make(opnd_array(1)->constantD());\n");
1839 break; 1839 break;
1840 case Form::idealF: 1840 case Form::idealF: