mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user