hotspot/src/share/vm/opto/loopnode.hpp
changeset 35084 5b34a4ae0f58
parent 34164 a9e6034d7707
child 35551 36ef3841fb34
--- a/hotspot/src/share/vm/opto/loopnode.hpp	Thu Dec 03 22:30:17 2015 -0800
+++ b/hotspot/src/share/vm/opto/loopnode.hpp	Fri Dec 04 14:06:38 2015 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -429,6 +429,9 @@
   // encountered.
   void allpaths_check_safepts(VectorSet &visited, Node_List &stack);
 
+  // Remove safepoints from loop. Optionally keeping one.
+  void remove_safepoints(PhaseIdealLoop* phase, bool keep_one);
+
   // Convert to counted loops where possible
   void counted_loop( PhaseIdealLoop *phase );