mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Export the register classes so that the instruction selector can get at them as needed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7651 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
|
||||
NodeType::ArgResultTypes NodeType::Translate(Record *R) {
|
||||
const std::string &Name = R->getName();
|
||||
if (Name == "DNRT_void") return Void;
|
||||
if (Name == "DNRT_val" || Name == "DNAT_val") return Val;
|
||||
if (Name == "DNRT_arg0" || Name == "DNAT_arg0") return Arg0;
|
||||
if (Name == "DNAT_ptr") return Ptr;
|
||||
throw "Unknown DagNodeResult Type '" + Name + "'!";
|
||||
if (Name == "DNVT_void") return Void;
|
||||
if (Name == "DNVT_val" ) return Val;
|
||||
if (Name == "DNVT_arg0") return Arg0;
|
||||
if (Name == "DNVT_ptr" ) return Ptr;
|
||||
throw "Unknown DagNodeValType '" + Name + "'!";
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user