[Sablevm-developer] NewGlobalRef
Brought to you by:
egagnon
From: David <db...@cs...> - 2004-01-19 20:09:29
|
Hi, In the current NewGlobalRef, I see: if (obj =3D=3D NULL || *obj =3D=3D NULL) { goto end; } From my understanding of global refs, *obj cannot be NULL in correct code as null is represented by obj =3D=3D NULL. Is there any situation that *obj could be NULL? If not, I could change it to: if (obj =3D=3D NULL) { goto end; } David --- David B=E9langer Graduate Student School of Computer Science McGill University Office: MC226 Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt |