projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3a643d
)
[mini] Fixed the build.
author
João Matos
<joao@tritao.eu>
Mon, 30 Mar 2015 16:20:57 +0000
(17:20 +0100)
committer
João Matos
<joao@tritao.eu>
Mon, 30 Mar 2015 16:22:15 +0000
(17:22 +0100)
LLVM_FAILURE will try to `goto FAILURE` so we need to add a label to the function to make the compiler happy.
mono/mini/mini-llvm.c
patch
|
blob
|
history
diff --git
a/mono/mini/mini-llvm.c
b/mono/mini/mini-llvm.c
index fea1e3bef9cb33184ca5bb1143e75f2c9b66472f..17dd6ef0b23442b786ab6ef78a9fb95de4f06b92 100644
(file)
--- a/
mono/mini/mini-llvm.c
+++ b/
mono/mini/mini-llvm.c
@@
-2617,6
+2617,10
@@
emit_handler_start (EmitContext *ctx, MonoBasicBlock *bb, LLVMBuilderRef builder
ctx->bblocks [bb->block_num].end_bblock = target_bb;
}
+ return;
+
+ FAILURE:
+ return;
}
static void