< prev index next >

src/hotspot/share/c1/c1_LIRAssembler.hpp

Print this page

        

@@ -69,11 +69,15 @@
   }
   void process_debug_info(LIR_Op* op);
   void record_non_safepoint_debug_info();
 
   // unified bailout support
-  void bailout(const char* msg) const            { compilation()->bailout(msg); }
+  void bailout(const char* msg) {
+    // reset the label in case it hits assertion in destructor.
+    _unwind_handler_entry.reset();
+    compilation()->bailout(msg);
+  }
   bool bailed_out() const                        { return compilation()->bailed_out(); }
 
   // code emission patterns and accessors
   void check_codespace();
   bool needs_icache(ciMethod* method) const;
< prev index next >