< prev index next >

src/hotspot/share/opto/rootnode.cpp

Print this page
@@ -29,10 +29,11 @@
  #include "opto/phaseX.hpp"
  #include "opto/regmask.hpp"
  #include "opto/rootnode.hpp"
  #include "opto/subnode.hpp"
  #include "opto/type.hpp"
+ #include "code/SCCache.hpp"
  
  //------------------------------Ideal------------------------------------------
  // Remove dead inputs
  Node *RootNode::Ideal(PhaseGVN *phase, bool can_reshape) {
    bool modified = false;

@@ -69,10 +70,11 @@
    init_req(TypeFunc::Control,  ctrl        );
    init_req(TypeFunc::I_O,      top);
    init_req(TypeFunc::Memory,   top);
    init_req(TypeFunc::FramePtr, frameptr    );
    init_req(TypeFunc::ReturnAdr,top);
+   SCCache::add_C_string(halt_reason);
  }
  
  const Type *HaltNode::bottom_type() const { return Type::BOTTOM; }
  uint HaltNode::size_of() const { return sizeof(*this); }
  
< prev index next >