summaryrefslogtreecommitdiff
path: root/MLKLexicalContext-MLKLLVMCompilation.mm
diff options
context:
space:
mode:
authorMatthias Benkard <mulk@minimulk.mst-plus>2008-10-02 15:09:25 +0200
committerMatthias Benkard <mulk@minimulk.mst-plus>2008-10-02 15:09:25 +0200
commit9fef4e8498255fb72f654514321ffc1e8ca382b6 (patch)
treea4cd7afe213f6f6c634cbf75f0ddabd500eb6545 /MLKLexicalContext-MLKLLVMCompilation.mm
parent637efdc284d97ccb04edc676428ecda077f940f6 (diff)
Add a multiple-value return pointer argument to all compiled procedures.
Diffstat (limited to 'MLKLexicalContext-MLKLLVMCompilation.mm')
-rw-r--r--MLKLexicalContext-MLKLLVMCompilation.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MLKLexicalContext-MLKLLVMCompilation.mm b/MLKLexicalContext-MLKLLVMCompilation.mm
index b387f62..b2d95ea 100644
--- a/MLKLexicalContext-MLKLLVMCompilation.mm
+++ b/MLKLexicalContext-MLKLLVMCompilation.mm
@@ -55,7 +55,7 @@ id MLKDummyUseLLVMLexicalContext = nil;
-(Instruction *) functionCellValueForSymbol:(id)name
{
- std::vector<const Type *> types (1, PointerType::get(PointerType::get(Type::Int8Ty, 0), 0));
+ std::vector<const Type *> types (2, PointerType::get(PointerType::get(Type::Int8Ty, 0), 0));
return (new IntToPtrInst (ConstantInt::get(Type::Int64Ty,
(uint64_t)[self functionCellForSymbol:name],
false),