Commit 02fed91d by Nathan Sidwell Committed by Nathan Sidwell

class.c (build_vtbl_initializer): Add argument to build_vtable_entry call.

	* class.c (build_vtbl_initializer): Add argument to
	build_vtable_entry call.

From-SVN: r31686
parent 6072f426
2000-01-29 Nathan Sidwell <sidwell@codesourcery.com>
* class.c (build_vtbl_initializer): Add argument to
build_vtable_entry call.
2000-01-27 Mark Mitchell <mark@codesourcery.com>
* cp-tree.def (THUNK_DECL): Discuss vcall indices.
......
......@@ -2662,7 +2662,8 @@ build_vtbl_initializer (binfo, t)
decl = integer_zero_node;
decl = build1 (NOP_EXPR, vfunc_ptr_type_node, decl);
TREE_CONSTANT (decl) = 1;
decl = build_vtable_entry (integer_zero_node, decl);
decl = build_vtable_entry (integer_zero_node, integer_zero_node,
decl);
inits = tree_cons (NULL_TREE, decl, inits);
v = TREE_CHAIN (v);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment