src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp

changeset 1100
c89f86385056
parent 1079
c517646eef23
child 1162
6b2273dd6fa9
     1.1 --- a/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp	Thu Mar 19 09:13:24 2009 -0700
     1.2 +++ b/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp	Fri Mar 20 23:19:36 2009 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 2000-2008 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 2000-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 @@ -2489,7 +2489,7 @@
    1.11          __ check_klass_subtype_fast_path(klass_RInfo, k_RInfo, Rtmp1, noreg,
    1.12                                           (need_slow_path ? &done : NULL),
    1.13                                           stub->entry(), NULL,
    1.14 -                                         RegisterConstant(k->super_check_offset()));
    1.15 +                                         RegisterOrConstant(k->super_check_offset()));
    1.16        } else {
    1.17          // perform the fast part of the checking logic
    1.18          __ check_klass_subtype_fast_path(klass_RInfo, k_RInfo, Rtmp1, O7,
    1.19 @@ -2550,14 +2550,14 @@
    1.20          __ check_klass_subtype_fast_path(klass_RInfo, k_RInfo, O7, noreg,
    1.21                                           (need_slow_path ? &done : NULL),
    1.22                                           (need_slow_path ? &done : NULL), NULL,
    1.23 -                                         RegisterConstant(k->super_check_offset()),
    1.24 +                                         RegisterOrConstant(k->super_check_offset()),
    1.25                                           dst);
    1.26        } else {
    1.27          assert(dst != klass_RInfo && dst != k_RInfo, "need 3 registers");
    1.28          // perform the fast part of the checking logic
    1.29          __ check_klass_subtype_fast_path(klass_RInfo, k_RInfo, O7, dst,
    1.30                                           &done, &done, NULL,
    1.31 -                                         RegisterConstant(-1),
    1.32 +                                         RegisterOrConstant(-1),
    1.33                                           dst);
    1.34        }
    1.35        if (need_slow_path) {

mercurial