src/cpu/sparc/vm/relocInfo_sparc.cpp

changeset 1162
6b2273dd6fa9
parent 739
dc7f315e41f7
child 1907
c18cbe5936b8
     1.1 --- a/src/cpu/sparc/vm/relocInfo_sparc.cpp	Mon Apr 20 14:48:03 2009 -0700
     1.2 +++ b/src/cpu/sparc/vm/relocInfo_sparc.cpp	Tue Apr 21 11:16:30 2009 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 1998-2008 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 1998-2009 Sun Microsystems, Inc.  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 @@ -99,13 +99,6 @@
    1.11        break;
    1.12      }
    1.13      ip->set_data64_sethi( ip->addr_at(0), (intptr_t)x );
    1.14 -#ifdef COMPILER2
    1.15 -    // [RGV] Someone must have missed putting in a reloc entry for the
    1.16 -    // add in compiler2.
    1.17 -    inst2 = ip->long_at( NativeMovConstReg::add_offset );
    1.18 -    guarantee(Assembler::inv_op(inst2)==Assembler::arith_op, "arith op");
    1.19 -    ip->set_long_at(NativeMovConstReg::add_offset,ip->set_data32_simm13( inst2, (intptr_t)x+o));
    1.20 -#endif
    1.21  #else
    1.22      guarantee(Assembler::inv_op2(inst)==Assembler::sethi_op2, "must be sethi");
    1.23      inst &= ~Assembler::hi22(     -1);

mercurial