equal
deleted
inserted
replaced
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 |