Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/type.cpp @ 23614:32b682649973 jdk8u75-b04
8132051: Better byte behavior
Reviewed-by: coleenp, roland
author | kevinw |
---|---|
date | Fri, 15 Jan 2016 22:33:15 +0000 |
parents | 2a55e4998f0d |
children | b5f3a471e646 2094cac55c59 |
comparison
equal
deleted
inserted
replaced
23613:b374548dcb48 | 23614:32b682649973 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2016, 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. |
1765 field_array[pos++] = Type::DOUBLE; | 1765 field_array[pos++] = Type::DOUBLE; |
1766 field_array[pos++] = Type::HALF; | 1766 field_array[pos++] = Type::HALF; |
1767 break; | 1767 break; |
1768 case T_OBJECT: | 1768 case T_OBJECT: |
1769 case T_ARRAY: | 1769 case T_ARRAY: |
1770 case T_FLOAT: | |
1771 case T_INT: | |
1772 field_array[pos++] = get_const_type(type); | |
1773 break; | |
1770 case T_BOOLEAN: | 1774 case T_BOOLEAN: |
1771 case T_CHAR: | 1775 case T_CHAR: |
1772 case T_FLOAT: | |
1773 case T_BYTE: | 1776 case T_BYTE: |
1774 case T_SHORT: | 1777 case T_SHORT: |
1775 case T_INT: | 1778 field_array[pos++] = TypeInt::INT; |
1776 field_array[pos++] = get_const_type(type); | |
1777 break; | 1779 break; |
1778 default: | 1780 default: |
1779 ShouldNotReachHere(); | 1781 ShouldNotReachHere(); |
1780 } | 1782 } |
1781 i++; | 1783 i++; |