projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b877590
)
[runtime] switch to checked variant of mono_get_method_constrained.
author
Rodrigo Kumpera
<kumpera@gmail.com>
Tue, 9 Dec 2014 22:48:37 +0000
(17:48 -0500)
committer
Rodrigo Kumpera
<kumpera@gmail.com>
Tue, 20 Jan 2015 17:50:48 +0000
(12:50 -0500)
mono/mini/method-to-ir.c
patch
|
blob
|
history
diff --git
a/mono/mini/method-to-ir.c
b/mono/mini/method-to-ir.c
index ac3d6db059ca174cf7b79d23da2f14088234eafc..761480efe82fea936d39cba35314716d6ca6ab11 100755
(executable)
--- a/
mono/mini/method-to-ir.c
+++ b/
mono/mini/method-to-ir.c
@@
-8121,7
+8121,8
@@
mono_method_to_ir (MonoCompile *cfg, MonoMethod *method, MonoBasicBlock *start_b
if (!mini_is_gsharedvt_klass (cfg, constrained_call))
g_assert (!cmethod->klass->valuetype);
} else {
- cmethod = mono_get_method_constrained (image, token, constrained_call, generic_context, &cil_method);
+ cmethod = mono_get_method_constrained_checked (image, token, constrained_call, generic_context, &cil_method, &cfg->error);
+ CHECK_CFG_ERROR;
}
}
}