aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/CodeGen.cc')
-rw-r--r--lib/CodeGen/CodeGen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGen.cc b/lib/CodeGen/CodeGen.cc
index 01393a9..68dec5c 100644
--- a/lib/CodeGen/CodeGen.cc
+++ b/lib/CodeGen/CodeGen.cc
@@ -266,7 +266,7 @@ bool CodeGen::marshalCallArgs(const std::string &Callee,
TypeName.c_str(), Info->TypeName.c_str());
return false;
}
- Out.push_back(Info->Storage);
+ Out.push_back(symbolAddress(*Info));
} else {
Value *V = emitCoercedExpr(ArgExpr, resolveType(TypeName));
if (!V) return false;