hotspot/src/cpu/x86/vm/c1_CodeStubs_x86.cpp
changeset 6745 a34ef8968a84
parent 6453 970dc585ab63
child 6970 3ac175042286
--- a/hotspot/src/cpu/x86/vm/c1_CodeStubs_x86.cpp	Wed Sep 22 23:51:03 2010 -0700
+++ b/hotspot/src/cpu/x86/vm/c1_CodeStubs_x86.cpp	Tue Dec 29 19:08:54 2009 +0100
@@ -83,7 +83,8 @@
   : _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception)
   , _index(index)
 {
-  _info = info == NULL ? NULL : new CodeEmitInfo(info);
+  assert(info != NULL, "must have info");
+  _info = new CodeEmitInfo(info);
 }