Bugzilla – Attachment 268005 Details for
Bug 469742
System.NullReferenceException when generics used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
Updated proposed patch.
fix-ldnull-unboxany-stloc.diff (text/plain), 625 bytes, created by
Mark Probst
on 2009-01-27 17:02:21 UTC
(
hide
)
Description:
Updated proposed patch.
Filename:
MIME Type:
Creator:
Mark Probst
Created:
2009-01-27 17:02:21 UTC
Size:
625 bytes
patch
obsolete
>Index: mini/method-to-ir.c >=================================================================== >--- mini/method-to-ir.c (revision 124562) >+++ mini/method-to-ir.c (working copy) >@@ -4979,7 +4979,8 @@ > { > MonoInst *ins; > guint32 opcode = mono_type_to_regmove (cfg, header->locals [n]); >- if ((opcode == OP_MOVE) && ((sp [0]->opcode == OP_ICONST) || (sp [0]->opcode == OP_I8CONST))) { >+ if ((opcode == OP_MOVE) && cfg->cbb->last_ins == sp [0] && >+ ((sp [0]->opcode == OP_ICONST) || (sp [0]->opcode == OP_I8CONST))) { > /* Optimize reg-reg moves away */ > /* > * Can't optimize other opcodes, since sp[0] might point to
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 469742
:
267890
|
267946
| 268005