1 /* |
1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. 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. |
170 idealF = 4, // Float type |
170 idealF = 4, // Float type |
171 idealD = 5, // Double type |
171 idealD = 5, // Double type |
172 idealB = 6, // Byte type |
172 idealB = 6, // Byte type |
173 idealC = 7, // Char type |
173 idealC = 7, // Char type |
174 idealS = 8, // String type |
174 idealS = 8, // String type |
175 idealN = 9 // Narrow oop types |
175 idealN = 9, // Narrow oop types |
|
176 idealV = 10 // Vector type |
176 }; |
177 }; |
177 // Convert ideal name to a DataType, return DataType::none if not a 'ConX' |
178 // Convert ideal name to a DataType, return DataType::none if not a 'ConX' |
178 Form::DataType ideal_to_const_type(const char *ideal_type_name) const; |
179 Form::DataType ideal_to_const_type(const char *ideal_type_name) const; |
179 // Convert ideal name to a DataType, return DataType::none if not a 'sRegX |
180 // Convert ideal name to a DataType, return DataType::none if not a 'sRegX |
180 Form::DataType ideal_to_sReg_type(const char *name) const; |
181 Form::DataType ideal_to_sReg_type(const char *name) const; |