[llvm-commits] [dragonegg] r92908 - in /dragonegg/trunk: llvm-convert.cpp llvm-internal.h
Duncan Sands
baldrick at free.fr
Thu Jan 7 00:16:33 PST 2010
Author: baldrick
Date: Thu Jan 7 02:16:33 2010
New Revision: 92908
URL: http://llvm.org/viewvc/llvm-project?rev=92908&view=rev
Log:
Remove unused parameter.
Modified:
dragonegg/trunk/llvm-convert.cpp
dragonegg/trunk/llvm-internal.h
Modified: dragonegg/trunk/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-convert.cpp?rev=92908&r1=92907&r2=92908&view=diff
==============================================================================
--- dragonegg/trunk/llvm-convert.cpp (original)
+++ dragonegg/trunk/llvm-convert.cpp Thu Jan 7 02:16:33 2010
@@ -3313,7 +3313,7 @@
Value *TreeToLLVM::EmitBinOp(tree type, tree_code code, tree op0, tree op1,
unsigned Opc) {
if (TREE_CODE(type) == COMPLEX_TYPE)
- return EmitComplexBinOp(type, code, op0, op1);
+ return EmitComplexBinOp(code, op0, op1);
Value *LHS = EmitRegister(op0);
Value *RHS = EmitRegister(op1);
@@ -5963,8 +5963,7 @@
// EmitComplexBinOp - Note that this operates on binops like ==/!=, which return
// a bool, not a complex value.
-Value *TreeToLLVM::EmitComplexBinOp(tree type, tree_code code,
- tree op0, tree op1) {
+Value *TreeToLLVM::EmitComplexBinOp(tree_code code, tree op0, tree op1) {
Value *LHSr, *LHSi;
SplitComplex(EmitRegister(op0), LHSr, LHSi);
Value *RHSr, *RHSi;
Modified: dragonegg/trunk/llvm-internal.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-internal.h?rev=92908&r1=92907&r2=92908&view=diff
==============================================================================
--- dragonegg/trunk/llvm-internal.h (original)
+++ dragonegg/trunk/llvm-internal.h Thu Jan 7 02:16:33 2010
@@ -697,8 +697,7 @@
Value *CreateComplex(Value *Real, Value *Imag);
void SplitComplex(Value *Complex, Value *&Real, Value *&Imag);
Value *EmitCOMPLEX_EXPR(tree op0, tree op1);
- Value *EmitComplexBinOp(tree_node *type, tree_code code, tree_node *op0,
- tree_node *op1);
+ Value *EmitComplexBinOp(tree_code code, tree_node *op0, tree_node *op1);
// L-Value Expressions.
LValue EmitLV_ARRAY_REF(tree_node *exp);
More information about the llvm-commits
mailing list