src/hotspot/share/c1/c1_IR.cpp
changeset 51078 fc6cfe40e32a
parent 47216 71c04702a3d5
child 51333 f6641fcf7b7e
child 51352 f646ca47e561
--- a/src/hotspot/share/c1/c1_IR.cpp	Fri Jul 13 11:21:55 2018 +0800
+++ b/src/hotspot/share/c1/c1_IR.cpp	Thu Jul 12 16:31:28 2018 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2018, 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
@@ -1386,7 +1386,7 @@
     n->values_do(this);
     // need to remove this instruction from the instruction stream
     if (n->subst() != n) {
-      assert(last != NULL, "must have last");
+      guarantee(last != NULL, "must have last");
       last->set_next(n->next());
     } else {
       last = n;