# HG changeset patch # User Lukas Stadler # Date 1332327477 -3600 # Node ID e307e8104e12771d795179707329b82c42b42fc8 # Parent ab038e0d6b430ea71df76febd52105578fc3039f fix for non-graal builds diff -r ab038e0d6b43 -r e307e8104e12 src/share/vm/code/pcDesc.hpp --- 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()]