src/share/vm/opto/type.cpp

changeset 8368
32b682649973
parent 7873
2a55e4998f0d
child 8424
2094cac55c59
     1.1 --- a/src/share/vm/opto/type.cpp	Mon Jan 11 13:41:45 2016 -0800
     1.2 +++ b/src/share/vm/opto/type.cpp	Fri Jan 15 22:33:15 2016 +0000
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -1767,13 +1767,15 @@
    1.11        break;
    1.12      case T_OBJECT:
    1.13      case T_ARRAY:
    1.14 +    case T_FLOAT:
    1.15 +    case T_INT:
    1.16 +      field_array[pos++] = get_const_type(type);
    1.17 +      break;
    1.18      case T_BOOLEAN:
    1.19      case T_CHAR:
    1.20 -    case T_FLOAT:
    1.21      case T_BYTE:
    1.22      case T_SHORT:
    1.23 -    case T_INT:
    1.24 -      field_array[pos++] = get_const_type(type);
    1.25 +      field_array[pos++] = TypeInt::INT;
    1.26        break;
    1.27      default:
    1.28        ShouldNotReachHere();

mercurial