libgo: Update to weekly.2012-02-14 release.

From-SVN: r184798
This commit is contained in:
Ian Lance Taylor 2012-03-02 16:38:43 +00:00
parent ff2f581b00
commit cbb6491d76
264 changed files with 11304 additions and 8940 deletions

View file

@ -8,6 +8,7 @@
#include "go-assert.h"
#include "go-panic.h"
#include "interface.h"
#include "runtime.h"
/* This is called by the compiler to implement a type assertion from
one interface type to another. This returns the value that should
@ -26,14 +27,8 @@ __go_assert_interface (const struct __go_type_descriptor *lhs_descriptor,
/* A type assertion is not permitted with a nil interface. */
newTypeAssertionError (NULL,
NULL,
lhs_descriptor,
NULL,
NULL,
lhs_descriptor->__reflection,
NULL,
&panic_arg);
runtime_newTypeAssertionError (NULL, NULL, lhs_descriptor->__reflection,
NULL, &panic_arg);
__go_panic (panic_arg);
}