mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add scei vendor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127705 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0d4c9d94f6
commit
6046cffbaf
@ -72,7 +72,8 @@ public:
|
||||
UnknownVendor,
|
||||
|
||||
Apple,
|
||||
PC
|
||||
PC,
|
||||
SCEI
|
||||
};
|
||||
enum OSType {
|
||||
UnknownOS,
|
||||
|
@ -84,6 +84,7 @@ const char *Triple::getVendorTypeName(VendorType Kind) {
|
||||
|
||||
case Apple: return "apple";
|
||||
case PC: return "pc";
|
||||
case SCEI: return "scei";
|
||||
}
|
||||
|
||||
return "<invalid>";
|
||||
@ -296,6 +297,8 @@ Triple::VendorType Triple::ParseVendor(StringRef VendorName) {
|
||||
return Apple;
|
||||
else if (VendorName == "pc")
|
||||
return PC;
|
||||
else if (VendorName == "scei")
|
||||
return SCEI;
|
||||
else
|
||||
return UnknownVendor;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user