Mercurial > hg > truffle
diff src/share/vm/ci/ciInstance.cpp @ 2467:3fa3c7e4d4f3
7035161: assert(!o->is_null_object()) failed: null object not yet handled here.
Reviewed-by: kvn
author | never |
---|---|
date | Fri, 08 Apr 2011 23:00:14 -0700 |
parents | c7f3d0b4570f |
children | da91efe96a93 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciInstance.cpp Fri Apr 08 20:52:28 2011 -0700 +++ b/src/share/vm/ci/ciInstance.cpp Fri Apr 08 23:00:14 2011 -0700 @@ -66,8 +66,8 @@ "invalid access"); VM_ENTRY_MARK; ciConstant result; - oop obj = get_oop(); - assert(obj != NULL, "bad oop"); + Handle obj = get_oop(); + assert(!obj.is_null(), "bad oop"); BasicType field_btype = field->type()->basic_type(); int offset = field->offset();