diff options
author | Matthias Benkard <mulk@minimulk.mst-plus> | 2008-10-02 15:09:25 +0200 |
---|---|---|
committer | Matthias Benkard <mulk@minimulk.mst-plus> | 2008-10-02 15:09:25 +0200 |
commit | 9fef4e8498255fb72f654514321ffc1e8ca382b6 (patch) | |
tree | a4cd7afe213f6f6c634cbf75f0ddabd500eb6545 /MLKLexicalContext-MLKLLVMCompilation.mm | |
parent | 637efdc284d97ccb04edc676428ecda077f940f6 (diff) |
Add a multiple-value return pointer argument to all compiled procedures.
Diffstat (limited to 'MLKLexicalContext-MLKLLVMCompilation.mm')
-rw-r--r-- | MLKLexicalContext-MLKLLVMCompilation.mm | 2 |
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), |