src/hotspot/os_cpu/linux_sparc/thread_linux_sparc.hpp
changeset 47881 0ce0ac68ace7
parent 47216 71c04702a3d5
child 49480 d7df2dd501ce
equal deleted inserted replaced
47824:cf127be65014 47881:0ce0ac68ace7
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    66 
    66 
    67 #ifndef _LP64
    67 #ifndef _LP64
    68   address o_reg_temps(int i) { return (address)&_o_reg_temps[i]; }
    68   address o_reg_temps(int i) { return (address)&_o_reg_temps[i]; }
    69 #endif
    69 #endif
    70 
    70 
    71   static int saved_exception_npc_offset_in_bytes() { return offset_of(JavaThread,_saved_exception_npc); }
    71   static ByteSize saved_exception_npc_offset() { return byte_offset_of(JavaThread,_saved_exception_npc); }
    72 
    72 
    73   address  saved_exception_npc()             { return _saved_exception_npc; }
    73   address  saved_exception_npc()             { return _saved_exception_npc; }
    74   void set_saved_exception_npc(address a)    { _saved_exception_npc = a; }
    74   void set_saved_exception_npc(address a)    { _saved_exception_npc = a; }
    75 
    75 
    76 
    76