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: |