libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.
This upgrades all of libgo other than the runtime package to the Go 1.4 release. In Go 1.4 much of the runtime was rewritten into Go. Merging that code will take more time and will not change the API, so I'm putting it off for now. There are a few runtime changes anyhow, to accomodate other packages that rely on minor modifications to the runtime support. The compiler changes slightly to add a one-bit flag to each type descriptor kind that is stored directly in an interface, which for gccgo is currently only pointer types. Another one-bit flag (gcprog) is reserved because it is used by the gc compiler, but gccgo does not currently use it. There is another error check in the compiler since I ran across it during testing. gotools/: * Makefile.am (go_cmd_go_files): Sort entries. Add generate.go. * Makefile.in: Rebuild. From-SVN: r219627
This commit is contained in:
parent
6bd3f109d8
commit
f8d9fa9e80
619 changed files with 29942 additions and 6952 deletions
|
@ -14,14 +14,15 @@ type T struct {
|
|||
script string
|
||||
}
|
||||
|
||||
// Hand-chosen tests from Unicode 5.1.0, 6.0.0 and 6.2.0 mostly to discover when new
|
||||
// scripts and categories arise.
|
||||
// Hand-chosen tests from Unicode 5.1.0, 6.0.0, 6.2.0, 6.3.0 and 7.0.0 mostly to
|
||||
// discover when new scripts and categories arise.
|
||||
var inTest = []T{
|
||||
{0x06e2, "Arabic"},
|
||||
{0x0567, "Armenian"},
|
||||
{0x10b20, "Avestan"},
|
||||
{0x1b37, "Balinese"},
|
||||
{0xa6af, "Bamum"},
|
||||
{0x16ada, "Bassa_Vah"},
|
||||
{0x1be1, "Batak"},
|
||||
{0x09c2, "Bengali"},
|
||||
{0x3115, "Bopomofo"},
|
||||
|
@ -31,6 +32,7 @@ var inTest = []T{
|
|||
{0x11011, "Brahmi"},
|
||||
{0x156d, "Canadian_Aboriginal"},
|
||||
{0x102a9, "Carian"},
|
||||
{0x10563, "Caucasian_Albanian"},
|
||||
{0x11111, "Chakma"},
|
||||
{0xaa4d, "Cham"},
|
||||
{0x13c2, "Cherokee"},
|
||||
|
@ -42,11 +44,14 @@ var inTest = []T{
|
|||
{0xa663, "Cyrillic"},
|
||||
{0x10430, "Deseret"},
|
||||
{0x094a, "Devanagari"},
|
||||
{0x1BC00, "Duployan"},
|
||||
{0x13001, "Egyptian_Hieroglyphs"},
|
||||
{0x10500, "Elbasan"},
|
||||
{0x1271, "Ethiopic"},
|
||||
{0x10fc, "Georgian"},
|
||||
{0x2c40, "Glagolitic"},
|
||||
{0x10347, "Gothic"},
|
||||
{0x11303, "Grantha"},
|
||||
{0x03ae, "Greek"},
|
||||
{0x0abf, "Gujarati"},
|
||||
{0x0a24, "Gurmukhi"},
|
||||
|
@ -66,40 +71,56 @@ var inTest = []T{
|
|||
{0xa928, "Kayah_Li"},
|
||||
{0x10a11, "Kharoshthi"},
|
||||
{0x17c6, "Khmer"},
|
||||
{0x11211, "Khojki"},
|
||||
{0x112df, "Khudawadi"},
|
||||
{0x0eaa, "Lao"},
|
||||
{0x1d79, "Latin"},
|
||||
{0x1c10, "Lepcha"},
|
||||
{0x1930, "Limbu"},
|
||||
{0x10755, "Linear_A"},
|
||||
{0x1003c, "Linear_B"},
|
||||
{0xa4e1, "Lisu"},
|
||||
{0x10290, "Lycian"},
|
||||
{0x10930, "Lydian"},
|
||||
{0x11173, "Mahajani"},
|
||||
{0x0d42, "Malayalam"},
|
||||
{0x0843, "Mandaic"},
|
||||
{0x10ac8, "Manichaean"},
|
||||
{0xabd0, "Meetei_Mayek"},
|
||||
{0x1e800, "Mende_Kikakui"},
|
||||
{0x1099f, "Meroitic_Hieroglyphs"},
|
||||
{0x109a0, "Meroitic_Cursive"},
|
||||
{0x16f00, "Miao"},
|
||||
{0x11611, "Modi"},
|
||||
{0x1822, "Mongolian"},
|
||||
{0x16a60, "Mro"},
|
||||
{0x104c, "Myanmar"},
|
||||
{0x10880, "Nabataean"},
|
||||
{0x19c3, "New_Tai_Lue"},
|
||||
{0x07f8, "Nko"},
|
||||
{0x169b, "Ogham"},
|
||||
{0x1c6a, "Ol_Chiki"},
|
||||
{0x10310, "Old_Italic"},
|
||||
{0x10a80, "Old_North_Arabian"},
|
||||
{0x10350, "Old_Permic"},
|
||||
{0x103c9, "Old_Persian"},
|
||||
{0x10a6f, "Old_South_Arabian"},
|
||||
{0x10c20, "Old_Turkic"},
|
||||
{0x0b3e, "Oriya"},
|
||||
{0x10491, "Osmanya"},
|
||||
{0x16b2b, "Pahawh_Hmong"},
|
||||
{0x10876, "Palmyrene"},
|
||||
{0x11ACE, "Pau_Cin_Hau"},
|
||||
{0xa860, "Phags_Pa"},
|
||||
{0x10918, "Phoenician"},
|
||||
{0x10baf, "Psalter_Pahlavi"},
|
||||
{0xa949, "Rejang"},
|
||||
{0x16c0, "Runic"},
|
||||
{0x081d, "Samaritan"},
|
||||
{0xa892, "Saurashtra"},
|
||||
{0x111a0, "Sharada"},
|
||||
{0x10463, "Shavian"},
|
||||
{0x115c1, "Siddham"},
|
||||
{0x0dbd, "Sinhala"},
|
||||
{0x110d0, "Sora_Sompeng"},
|
||||
{0x1ba3, "Sundanese"},
|
||||
|
@ -117,8 +138,10 @@ var inTest = []T{
|
|||
{0x0e46, "Thai"},
|
||||
{0x0f36, "Tibetan"},
|
||||
{0x2d55, "Tifinagh"},
|
||||
{0x114d9, "Tirhuta"},
|
||||
{0x10388, "Ugaritic"},
|
||||
{0xa60e, "Vai"},
|
||||
{0x118ff, "Warang_Citi"},
|
||||
{0xa216, "Yi"},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue