aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-21 04:59:27 +0000
committerChris Lattner <sabre@nondot.org>2007-08-21 04:59:27 +0000
commitee755f9118c4061b21e0a787d4a20484df36f603 (patch)
tree3ed7ea9821af1caaa3032d68a9bc0ac1fbe3ab6f /CodeGen/CodeGenFunction.h
parent03d6fb99224c36935c9af9f4785cb33453c99b2b (diff)
reimplement addition of complex numbers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r--CodeGen/CodeGenFunction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h
index eaf2b1ded2..ca391b01ad 100644
--- a/CodeGen/CodeGenFunction.h
+++ b/CodeGen/CodeGenFunction.h
@@ -249,7 +249,8 @@ public:
/// EmitLoadOfComplex - Given an RValue reference for a complex, emit code to
/// load the real and imaginary pieces, returning them as Real/Imag.
- void EmitLoadOfComplex(RValue V, llvm::Value *&Real, llvm::Value *&Imag);
+ void EmitLoadOfComplex(llvm::Value *SrcPtr, llvm::Value *&Real,
+ llvm::Value *&Imag);
/// EmitStoreOfComplex - Store the specified real/imag parts into the
/// specified value pointer.