projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9a6f0e
)
[amd64] Fix a simple peephole opt broken by the OP_IL_SEQ_POINT changes.
author
Zoltan Varga
<vargaz@gmail.com>
Fri, 12 Dec 2014 00:30:07 +0000
(19:30 -0500)
committer
Zoltan Varga
<vargaz@gmail.com>
Fri, 12 Dec 2014 00:30:07 +0000
(19:30 -0500)
mono/mini/mini-amd64.c
patch
|
blob
|
history
diff --git
a/mono/mini/mini-amd64.c
b/mono/mini/mini-amd64.c
index 61990fa3bd28f51d11045cc6ca8d3d8f0655166b..88b329172faa10ba10286ae47e570b14264b14ee 100755
(executable)
--- a/
mono/mini/mini-amd64.c
+++ b/
mono/mini/mini-amd64.c
@@
-6933,6
+6933,11
@@
mono_arch_emit_prolog (MonoCompile *cfg)
for (i = 0; next && i < sig->param_count + sig->hasthis; ++i) {
ArgInfo *ainfo = cinfo->args + i;
gboolean match = FALSE;
+
+ while (next && next->opcode == OP_IL_SEQ_POINT)
+ next = next->next;
+ if (!next)
+ break;
ins = cfg->args [i];
if (ins->opcode != OP_REGVAR) {