< prev index next >

src/hotspot/share/code/scopeDesc.cpp

Print this page

        

@@ -28,27 +28,29 @@
 #include "code/scopeDesc.hpp"
 #include "memory/resourceArea.hpp"
 #include "oops/oop.inline.hpp"
 #include "runtime/handles.inline.hpp"
 
-ScopeDesc::ScopeDesc(const CompiledMethod* code, int decode_offset, int obj_decode_offset, bool reexecute, bool rethrow_exception, bool return_oop) {
+ScopeDesc::ScopeDesc(const CompiledMethod* code, int decode_offset, int obj_decode_offset, bool reexecute, bool rethrow_exception, bool return_oop, bool return_vt) {
   _code          = code;
   _decode_offset = decode_offset;
   _objects       = decode_object_values(obj_decode_offset);
   _reexecute     = reexecute;
   _rethrow_exception = rethrow_exception;
   _return_oop    = return_oop;
+  _return_vt     = return_vt;
   decode_body();
 }
 
-ScopeDesc::ScopeDesc(const CompiledMethod* code, int decode_offset, bool reexecute, bool rethrow_exception, bool return_oop) {
+ScopeDesc::ScopeDesc(const CompiledMethod* code, int decode_offset, bool reexecute, bool rethrow_exception, bool return_oop, bool return_vt) {
   _code          = code;
   _decode_offset = decode_offset;
   _objects       = decode_object_values(DebugInformationRecorder::serialized_null);
   _reexecute     = reexecute;
   _rethrow_exception = rethrow_exception;
   _return_oop    = return_oop;
+  _return_vt     = return_vt;
   decode_body();
 }
 
 
 void ScopeDesc::initialize(const ScopeDesc* parent, int decode_offset) {

@@ -56,10 +58,11 @@
   _decode_offset = decode_offset;
   _objects       = parent->_objects;
   _reexecute     = false; //reexecute only applies to the first scope
   _rethrow_exception = false;
   _return_oop    = false;
+  _return_vt     = false;
   decode_body();
 }
 
 ScopeDesc::ScopeDesc(const ScopeDesc* parent) {
   initialize(parent, parent->_sender_decode_offset);
< prev index next >