src/cpu/x86/vm/c1_CodeStubs_x86.cpp

changeset 2226
75b0735b4d04
parent 2174
f02a8bbe6ed4
child 2228
07a218de38cb
     1.1 --- a/src/cpu/x86/vm/c1_CodeStubs_x86.cpp	Tue Oct 12 10:57:33 2010 -0400
     1.2 +++ b/src/cpu/x86/vm/c1_CodeStubs_x86.cpp	Wed Oct 13 11:46:46 2010 -0400
     1.3 @@ -83,7 +83,8 @@
     1.4    : _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception)
     1.5    , _index(index)
     1.6  {
     1.7 -  _info = info == NULL ? NULL : new CodeEmitInfo(info);
     1.8 +  assert(info != NULL, "must have info");
     1.9 +  _info = new CodeEmitInfo(info);
    1.10  }
    1.11  
    1.12  

mercurial