< prev index next >

src/hotspot/cpu/x86/templateTable_x86.cpp

Print this page

        

@@ -2635,10 +2635,21 @@
 }
 
 void TemplateTable::_return(TosState state) {
   transition(state, state);
 
+  // {
+  //   Label not_rb;
+  //   Register aa = rcx, bb = rdi;
+  //   __ movptr(aa, Address(rsp, 0));
+  //   __ lea(bb, ExternalAddress(StubRoutines::cont_returnBarrier()));
+  //   __ cmpq(aa, bb);
+  //   // __ cmpq(ExternalAddress(StubRoutines::cont_returnBarrier()).addr(), aa);
+  //   __ jcc(Assembler::notZero, not_rb);
+  //   __ stop("WQWWQWQW");
+  //   __ bind(not_rb);
+  // }
   assert(_desc->calls_vm(),
          "inconsistent calls_vm information"); // call in remove_activation
 
   if (_desc->bytecode() == Bytecodes::_return_register_finalizer) {
     assert(state == vtos, "only valid state");
< prev index next >