diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-05-02 14:38:35 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-05-02 14:38:35 +0000 |
commit | 3e411c3ffd2dae9901cb75fd36678865ab4fa91a (patch) | |
tree | 6d379b98f3070c576a07a4b1a09a854e3edc90d2 /gcc/cp/rtti.c | |
parent | 9714cf4399fc4833c9055d4a0e5c5cc504226c44 (diff) | |
download | gcc-3e411c3ffd2dae9901cb75fd36678865ab4fa91a.zip gcc-3e411c3ffd2dae9901cb75fd36678865ab4fa91a.tar.gz gcc-3e411c3ffd2dae9901cb75fd36678865ab4fa91a.tar.bz2 |
call.c: NULL_PTR -> NULL.
cp:
* call.c: NULL_PTR -> NULL.
* class.c: Likewise.
* cvt.c: Likewise.
* decl.c: Likewise.
* decl2.c: Likewise.
* except.c: Likewise.
* init.c: Likewise.
* rtti.c: Likewise.
* search.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.
* typeck2.c: Likewise.
f:
* com.c: NULL_PTR -> NULL.
java:
* decl.c: NULL_PTR -> NULL.
* jcf-write.c: Likewise.
From-SVN: r41762
Diffstat (limited to 'gcc/cp/rtti.c')
-rw-r--r-- | gcc/cp/rtti.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index 1550e42..1ce8f98 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -139,7 +139,7 @@ build_headof (exp) the vptr. */ index = build_int_2 (-2, -1); - aref = build_vtbl_ref (build_indirect_ref (exp, NULL_PTR), index); + aref = build_vtbl_ref (build_indirect_ref (exp, NULL), index); if (flag_vtable_thunks) offset = aref; @@ -233,7 +233,7 @@ get_tinfo_decl_dynamic (exp) { exp = build_unary_op (ADDR_EXPR, exp, 0); exp = build_headof_sub (exp); - exp = build_indirect_ref (exp, NULL_PTR); + exp = build_indirect_ref (exp, NULL); } /* The RTTI information is at index -1. */ |