hotspot/src/share/vm/opto/cfgnode.cpp
changeset 29076 4a5f7c1e6ed7
parent 25930 eae8b7490d2c
child 30206 855fbaf99089
equal deleted inserted replaced
29075:ad5e1490d635 29076:4a5f7c1e6ed7
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, 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.
  1013     const TypeInstPtr *jtip = (jtp != NULL) ? jtp->isa_instptr() : NULL;
  1013     const TypeInstPtr *jtip = (jtp != NULL) ? jtp->isa_instptr() : NULL;
  1014     const TypeKlassPtr *jtkp = (jtp != NULL) ? jtp->isa_klassptr() : NULL;
  1014     const TypeKlassPtr *jtkp = (jtp != NULL) ? jtp->isa_klassptr() : NULL;
  1015     if( jtip && ttip ) {
  1015     if( jtip && ttip ) {
  1016       if( jtip->is_loaded() &&  jtip->klass()->is_interface() &&
  1016       if( jtip->is_loaded() &&  jtip->klass()->is_interface() &&
  1017           ttip->is_loaded() && !ttip->klass()->is_interface() ) {
  1017           ttip->is_loaded() && !ttip->klass()->is_interface() ) {
  1018         // Happens in a CTW of rt.jar, 320-341, no extra flags
       
  1019         assert(ft == ttip->cast_to_ptr_type(jtip->ptr()) ||
  1018         assert(ft == ttip->cast_to_ptr_type(jtip->ptr()) ||
  1020                ft->isa_narrowoop() && ft->make_ptr() == ttip->cast_to_ptr_type(jtip->ptr()), "");
  1019                ft->isa_narrowoop() && ft->make_ptr() == ttip->cast_to_ptr_type(jtip->ptr()), "");
  1021         jt = ft;
  1020         jt = ft;
  1022       }
  1021       }
  1023     }
  1022     }