mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-15 14:01:04 +08:00
class.c (build_vtbl_ref_1): Remove call to assemble_external.
2009-04-15 Rafael Avila de Espindola <espindola@google.com> * class.c (build_vtbl_ref_1): Remove call to assemble_external. * init.c (build_vtbl_address): Remove call to assemble_external. From-SVN: r146087
This commit is contained in:
parent
e358346d5a
commit
3b482fca4f
@ -1,3 +1,8 @@
|
||||
2009-04-15 Rafael Avila de Espindola <espindola@google.com>
|
||||
|
||||
* class.c (build_vtbl_ref_1): Remove call to assemble_external.
|
||||
* init.c (build_vtbl_address): Remove call to assemble_external.
|
||||
|
||||
2009-04-14 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_dwarf_register_span): Fix debug
|
||||
|
@ -625,7 +625,6 @@ build_vtbl_ref_1 (tree instance, tree idx)
|
||||
if (!vtbl)
|
||||
vtbl = build_vfield_ref (instance, basetype);
|
||||
|
||||
assemble_external (vtbl);
|
||||
|
||||
aref = build_array_ref (vtbl, idx, input_location);
|
||||
TREE_CONSTANT (aref) |= TREE_CONSTANT (vtbl) && TREE_CONSTANT (idx);
|
||||
|
@ -869,7 +869,6 @@ build_vtbl_address (tree binfo)
|
||||
/* Figure out what vtable BINFO's vtable is based on, and mark it as
|
||||
used. */
|
||||
vtbl = get_vtbl_decl_for_binfo (binfo_for);
|
||||
assemble_external (vtbl);
|
||||
TREE_USED (vtbl) = 1;
|
||||
|
||||
/* Now compute the address to use when initializing the vptr. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user