src/cpu/sparc/vm/sharedRuntime_sparc.cpp

changeset 1145
e5b0439ef4ae
parent 1045
70998f2e05ef
child 1162
6b2273dd6fa9
     1.1 --- a/src/cpu/sparc/vm/sharedRuntime_sparc.cpp	Wed Apr 08 00:12:59 2009 -0700
     1.2 +++ b/src/cpu/sparc/vm/sharedRuntime_sparc.cpp	Wed Apr 08 10:56:49 2009 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 2003-2008 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 2003-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 @@ -937,12 +937,12 @@
    1.11    // Inputs:
    1.12    // G2_thread      - TLS
    1.13    // G5_method      - Method oop
    1.14 -  // O0             - Flag telling us to restore SP from O5
    1.15 -  // O4_args        - Pointer to interpreter's args
    1.16 -  // O5             - Caller's saved SP, to be restored if needed
    1.17 +  // G4 (Gargs)     - Pointer to interpreter's args
    1.18 +  // O0..O4         - free for scratch
    1.19 +  // O5_savedSP     - Caller's saved SP, to be restored if needed
    1.20    // O6             - Current SP!
    1.21    // O7             - Valid return address
    1.22 -  // L0-L7, I0-I7    - Caller's temps (no frame pushed yet)
    1.23 +  // L0-L7, I0-I7   - Caller's temps (no frame pushed yet)
    1.24  
    1.25    // Outputs:
    1.26    // G2_thread      - TLS
    1.27 @@ -954,7 +954,7 @@
    1.28    // F0-F7          - more outgoing args
    1.29  
    1.30  
    1.31 -  // O4 is about to get loaded up with compiled callee's args
    1.32 +  // Gargs is the incoming argument base, and also an outgoing argument.
    1.33    __ sub(Gargs, BytesPerWord, Gargs);
    1.34  
    1.35  #ifdef ASSERT

mercurial