Mercurial > hg > graal-jvmci-8
changeset 5131:e307e8104e12
fix for non-graal builds
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 21 Mar 2012 11:57:57 +0100 |
parents | ab038e0d6b43 |
children | e1a03c81cef0 |
files | src/share/vm/code/pcDesc.hpp |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/code/pcDesc.hpp Wed Mar 21 11:28:22 2012 +0100 +++ b/src/share/vm/code/pcDesc.hpp Wed Mar 21 11:57:57 2012 +0100 @@ -57,12 +57,11 @@ int pc_offset() const { return _pc_offset; } int scope_decode_offset() const { return _scope_decode_offset; } int obj_decode_offset() const { return _obj_decode_offset; } - jlong leaf_graph_id() const { return _leaf_graph_id; } + jlong leaf_graph_id() const { return GRAAL_ONLY(_leaf_graph_id) NOT_GRAAL(-1); } void set_pc_offset(int x) { _pc_offset = x; } void set_scope_decode_offset(int x) { _scope_decode_offset = x; } void set_obj_decode_offset(int x) { _obj_decode_offset = x; } - void set_leaf_graph_id(jlong x) { _leaf_graph_id = x; } // Constructor (only used for static in nmethod.cpp) // Also used by ScopeDesc::sender()]