src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp

changeset 2432
55f868e91c3b
parent 2412
037c727f35fb
child 2603
1b4e6a5d98e0
     1.1 --- a/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp	Thu Dec 30 23:44:45 2010 -0800
     1.2 +++ b/src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp	Thu Jan 06 16:03:20 2011 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2000, 2011, 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 @@ -2358,6 +2358,8 @@
    1.11           op->tmp3()->as_register()  == G4 &&
    1.12           op->tmp4()->as_register()  == O1 &&
    1.13           op->klass()->as_register() == G5, "must be");
    1.14 +
    1.15 +  LP64_ONLY( __ signx(op->len()->as_register()); )
    1.16    if (UseSlowPath ||
    1.17        (!UseFastNewObjectArray && (op->type() == T_OBJECT || op->type() == T_ARRAY)) ||
    1.18        (!UseFastNewTypeArray   && (op->type() != T_OBJECT && op->type() != T_ARRAY))) {

mercurial