[mini] Fixed the build.
authorJoão Matos <joao@tritao.eu>
Mon, 30 Mar 2015 16:20:57 +0000 (17:20 +0100)
committerJoã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

index fea1e3bef9cb33184ca5bb1143e75f2c9b66472f..17dd6ef0b23442b786ab6ef78a9fb95de4f06b92 100644 (file)
@@ -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