mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-01 23:06:11 +00:00
Use UnknownVendor rather than UnknownArch since they're in two different enums
and we're switching on vendor and not arch. llvm-svn: 338458
This commit is contained in:
parent
1f9e03f04d
commit
926b7c71f3
@ -78,7 +78,7 @@ PlatformSP PlatformWindows::CreateInstance(bool force,
|
||||
create = true;
|
||||
break;
|
||||
|
||||
case llvm::Triple::UnknownArch:
|
||||
case llvm::Triple::UnknownVendor:
|
||||
create = !arch->TripleVendorWasSpecified();
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user