src/cpu/sparc/vm/dump_sparc.cpp

changeset 1162
6b2273dd6fa9
parent 435
a61af66fc99e
child 1907
c18cbe5936b8
     1.1 --- a/src/cpu/sparc/vm/dump_sparc.cpp	Mon Apr 20 14:48:03 2009 -0700
     1.2 +++ b/src/cpu/sparc/vm/dump_sparc.cpp	Tue Apr 21 11:16:30 2009 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 2004-2007 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 2004-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 @@ -106,8 +106,7 @@
    1.11    __ and3(L0, 255, L4);                 // Isolate L3 = method offset;.
    1.12    __ sll(L4, LogBytesPerWord, L4);
    1.13    __ ld_ptr(L3, L4, L4);                // Get address of correct virtual method
    1.14 -  Address method(L4, 0);
    1.15 -  __ jmpl(method, G0);                  // Jump to correct method.
    1.16 +  __ jmpl(L4, 0, G0);                   // Jump to correct method.
    1.17    __ delayed()->restore();              // Restore registers.
    1.18  
    1.19    __ flush();

mercurial