* dwarf2read.c (read_namespace_type): Use common "return set_die_type"
	code form.
This commit is contained in:
Jan Kratochvil 2010-04-02 15:21:47 +00:00
parent eb8e76db62
commit 60531b2469
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2010-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2read.c (read_namespace_type): Use common "return set_die_type"
code form.
2010-04-02 Hui Zhu <teawater@gmail.com>
* i386-tdep.c (OT_DQUAD): New enum.

View File

@ -5637,9 +5637,7 @@ read_namespace_type (struct die_info *die, struct dwarf2_cu *cu)
TYPE_NAME (type) = (char *) name;
TYPE_TAG_NAME (type) = TYPE_NAME (type);
set_die_type (die, type, cu);
return type;
return set_die_type (die, type, cu);
}
/* Read a C++ namespace. */