equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2016 SAP SE. All rights reserved. |
3 * Copyright (c) 2016 SAP SE. All rights reserved. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
21 * or visit www.oracle.com if you need additional information or have any |
21 * or visit www.oracle.com if you need additional information or have any |
22 * questions. |
22 * questions. |
23 * |
23 * |
24 */ |
24 */ |
25 |
25 |
26 #ifndef CPU_S390_VM_JAVAFRAMEANCHOR_S390_HPP |
26 #ifndef CPU_S390_JAVAFRAMEANCHOR_S390_HPP |
27 #define CPU_S390_VM_JAVAFRAMEANCHOR_S390_HPP |
27 #define CPU_S390_JAVAFRAMEANCHOR_S390_HPP |
28 |
28 |
29 public: |
29 public: |
30 |
30 |
31 // Each arch must define reset, save, restore. |
31 // Each arch must define reset, save, restore. |
32 // These are used by objects that only care about: |
32 // These are used by objects that only care about: |
82 intptr_t* last_Java_sp() const { return _last_Java_sp; } |
82 intptr_t* last_Java_sp() const { return _last_Java_sp; } |
83 void set_last_Java_sp(intptr_t* sp) { OrderAccess::release(); _last_Java_sp = sp; } |
83 void set_last_Java_sp(intptr_t* sp) { OrderAccess::release(); _last_Java_sp = sp; } |
84 |
84 |
85 address last_Java_pc(void) { return _last_Java_pc; } |
85 address last_Java_pc(void) { return _last_Java_pc; } |
86 |
86 |
87 #endif // CPU_S390_VM_JAVAFRAMEANCHOR_S390_HPP |
87 #endif // CPU_S390_JAVAFRAMEANCHOR_S390_HPP |