mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
- Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd to
reflect the fact that it's a range being defined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4147 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -122,8 +122,8 @@ bool BytecodeParser::ParseInstruction(const uchar *&Buf, const uchar *EndBuf,
|
||||
if (ParseRawInst(Buf, EndBuf, Raw))
|
||||
return true;
|
||||
|
||||
if (Raw.Opcode >= Instruction::FirstBinaryOp &&
|
||||
Raw.Opcode < Instruction::NumBinaryOps && Raw.NumOperands == 2) {
|
||||
if (Raw.Opcode >= Instruction::BinaryOpsBegin &&
|
||||
Raw.Opcode < Instruction::BinaryOpsEnd && Raw.NumOperands == 2) {
|
||||
Res = BinaryOperator::create((Instruction::BinaryOps)Raw.Opcode,
|
||||
getValue(Raw.Ty, Raw.Arg1),
|
||||
getValue(Raw.Ty, Raw.Arg2));
|
||||
|
Reference in New Issue
Block a user