equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2010, 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. |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
|
24 |
|
25 #ifndef CPU_X86_VM_JAVAFRAMEANCHOR_X86_HPP |
|
26 #define CPU_X86_VM_JAVAFRAMEANCHOR_X86_HPP |
24 |
27 |
25 private: |
28 private: |
26 |
29 |
27 // FP value associated with _last_Java_sp: |
30 // FP value associated with _last_Java_sp: |
28 intptr_t* volatile _last_Java_fp; // pointer is volatile not what it points to |
31 intptr_t* volatile _last_Java_fp; // pointer is volatile not what it points to |
77 void set_last_Java_sp(intptr_t* sp) { _last_Java_sp = sp; } |
80 void set_last_Java_sp(intptr_t* sp) { _last_Java_sp = sp; } |
78 |
81 |
79 intptr_t* last_Java_fp(void) { return _last_Java_fp; } |
82 intptr_t* last_Java_fp(void) { return _last_Java_fp; } |
80 // Assert (last_Java_sp == NULL || fp == NULL) |
83 // Assert (last_Java_sp == NULL || fp == NULL) |
81 void set_last_Java_fp(intptr_t* fp) { _last_Java_fp = fp; } |
84 void set_last_Java_fp(intptr_t* fp) { _last_Java_fp = fp; } |
|
85 |
|
86 #endif // CPU_X86_VM_JAVAFRAMEANCHOR_X86_HPP |