projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
586b6b6
)
[llvm] Fix a problem introduced by 4a685f44c8dec120ad71efa873c9255b062fccc9, the...
author
Zoltan Varga
<vargaz@gmail.com>
Tue, 21 Jul 2015 22:11:31 +0000
(18:11 -0400)
committer
Zoltan Varga
<vargaz@gmail.com>
Tue, 21 Jul 2015 22:11:38 +0000
(18:11 -0400)
mono/mini/mini-llvm.c
patch
|
blob
|
history
diff --git
a/mono/mini/mini-llvm.c
b/mono/mini/mini-llvm.c
index fe6ac96dad03b8837dea296e2fd506e0bd792291..76c38f59f79fdb50092f3d36fd6ed0faecc2d5b3 100644
(file)
--- a/
mono/mini/mini-llvm.c
+++ b/
mono/mini/mini-llvm.c
@@
-1195,7
+1195,7
@@
sig_to_llvm_sig_full (EmitContext *ctx, MonoMethodSignature *sig, LLVMCallInfo *
case LLVMArgVtypeAsScalar:
/* LLVM models this by returning an int */
g_assert (cinfo->ret.nslots == 1 || cinfo->ret.nslots == 2);
- ret_type = LLVMIntType (cinfo->ret.nslots * sizeof (mgreg_t));
+ ret_type = LLVMIntType (cinfo->ret.nslots * sizeof (mgreg_t)
* 8
);
break;
case LLVMArgFpStruct: {
/* Vtype returned as a fp struct */