< prev index next >

src/share/vm/code/debugInfo.hpp

Print this page

        

*** 39,48 **** --- 39,49 ---- // ScopeValue describes the value of a variable/expression in a scope // - LocationValue describes a value in a given location (in frame or register) // - ConstantValue describes a constant class ConstantOopReadValue; + class ObjectValue; class ScopeValue: public ResourceObj { public: // Testers virtual bool is_location() const { return false; }
*** 56,65 **** --- 57,71 ---- ConstantOopReadValue* as_ConstantOopReadValue() { assert(is_constant_oop(), "must be"); return (ConstantOopReadValue*) this; } + ObjectValue* as_ObjectValue() { + assert(is_object(), "must be"); + return (ObjectValue*)this; + } + // Serialization of debugging information virtual void write_on(DebugInfoWriteStream* stream) = 0; static ScopeValue* read_from(DebugInfoReadStream* stream); };
< prev index next >