diff options
Diffstat (limited to 'lib/Target/Sparc/InstSelectSimple.cpp')
-rw-r--r-- | lib/Target/Sparc/InstSelectSimple.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Sparc/InstSelectSimple.cpp b/lib/Target/Sparc/InstSelectSimple.cpp index 398198ff00..fac772b65c 100644 --- a/lib/Target/Sparc/InstSelectSimple.cpp +++ b/lib/Target/Sparc/InstSelectSimple.cpp @@ -66,7 +66,7 @@ namespace { } void visitBinaryOperator(Instruction &I); - void visitShiftInstruction(Instruction &I) { visitBinaryOperator(I); } + void visitShiftInst (ShiftInst &SI) { visitBinaryOperator (SI); } void visitSetCondInst(Instruction &I); void visitCallInst(CallInst &I); void visitReturnInst(ReturnInst &I); @@ -594,6 +594,7 @@ void V8ISel::visitGetElementPtrInst (GetElementPtrInst &I) { I.op_begin ()+1, I.op_end (), outputReg); } + void V8ISel::visitBinaryOperator (Instruction &I) { unsigned DestReg = getReg (I); unsigned Op0Reg = getReg (I.getOperand (0)); |