projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
efd961c
)
[jit] Don't allocate a new method in mono_get_method_constrained_checked, check the...
author
Vladimir Kargov
<kargov@gmail.com>
Thu, 8 Jun 2017 02:32:42 +0000
(19:32 -0700)
committer
Vladimir Kargov
<kargov@gmail.com>
Mon, 17 Jul 2017 17:31:52 +0000
(10:31 -0700)
mono/metadata/loader.c
patch
|
blob
|
history
diff --git
a/mono/metadata/loader.c
b/mono/metadata/loader.c
index e685ac227abfc4693a2fedb33903a57e6a56d574..61a6f94146588d2f175fdc83e83e760e0ea9c805 100644
(file)
--- a/
mono/metadata/loader.c
+++ b/
mono/metadata/loader.c
@@
-1887,7
+1887,7
@@
mono_get_method_constrained_checked (MonoImage *image, guint32 token, MonoClass
{
error_init (error);
- *cil_method = mono_get_method_
from_token (image, token, NULL, context, NULL
, error);
+ *cil_method = mono_get_method_
checked (image, token, NULL, context
, error);
if (!*cil_method)
return NULL;