[cfe-commits] r63613 - /cfe/trunk/lib/CodeGen/CGCall.cpp
Daniel Dunbar
daniel at zuster.org
Mon Feb 2 22:02:10 PST 2009
Author: ddunbar
Date: Tue Feb 3 00:02:10 2009
New Revision: 63613
URL: http://llvm.org/viewvc/llvm-project?rev=63613&view=rev
Log:
Add two FIXMEs.
Modified:
cfe/trunk/lib/CodeGen/CGCall.cpp
Modified: cfe/trunk/lib/CodeGen/CGCall.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCall.cpp?rev=63613&r1=63612&r2=63613&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGCall.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCall.cpp Tue Feb 3 00:02:10 2009
@@ -1047,6 +1047,9 @@
void CodeGenFunction::EmitFunctionProlog(const CGFunctionInfo &FI,
llvm::Function *Fn,
const FunctionArgList &Args) {
+ // FIXME: We no longer need the types from FunctionArgList; lift up
+ // and simplify.
+
// Emit allocs for param decls. Give the LLVM Argument nodes names.
llvm::Function::arg_iterator AI = Fn->arg_begin();
@@ -1160,6 +1163,8 @@
RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo,
llvm::Value *Callee,
const CallArgList &CallArgs) {
+ // FIXME: We no longer need the types from CallArgs; lift up and
+ // simplify.
llvm::SmallVector<llvm::Value*, 16> Args;
// Handle struct-return functions by passing a pointer to the
More information about the cfe-commits
mailing list