hotspot/src/share/vm/ci/ciInstance.hpp
changeset 35498 392b50de06c6
parent 29081 c61eb4914428
child 38030 93f24e7b3c43
--- a/hotspot/src/share/vm/ci/ciInstance.hpp	Tue Jan 12 21:17:13 2016 +0400
+++ b/hotspot/src/share/vm/ci/ciInstance.hpp	Mon Jan 04 15:41:05 2016 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2016, 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
@@ -39,7 +39,7 @@
 
 protected:
   ciInstance(instanceHandle h_i) : ciObject(h_i) {
-    assert(h_i()->is_instance(), "wrong type");
+    assert(h_i()->is_instance_noinline(), "wrong type");
   }
 
   ciInstance(ciKlass* klass) : ciObject(klass) {}