projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b498fac
)
Revert "Fix a warning."
author
Bernhard Urban
<bernhard.urban@xamarin.com>
Tue, 13 Dec 2016 12:41:32 +0000
(13:41 +0100)
committer
Bernhard Urban
<bernhard.urban@xamarin.com>
Tue, 13 Dec 2016 12:41:32 +0000
(13:41 +0100)
This reverts commit
b498facf7cebade5762d79f28cd102a5ed120bc5
.
mono/mini/unwind.c
patch
|
blob
|
history
diff --git
a/mono/mini/unwind.c
b/mono/mini/unwind.c
index d89fa0f49451d9cc2796d74d7259c14de16bf6b8..6282ee9621125054f22b8507ecfe772ec03d6f45 100644
(file)
--- a/
mono/mini/unwind.c
+++ b/
mono/mini/unwind.c
@@
-621,6
+621,7
@@
mono_unwind_frame (guint8 *unwind_info, guint32 unwind_info_len,
cfa_val = (guint8*)regs [mono_dwarf_reg_to_hw_reg (cfa_reg)] + cfa_offset;
for (hwreg = 0; hwreg < NUM_HW_REGS; ++hwreg) {
if (reg_saved [hwreg] && locations [hwreg].loc_type == LOC_OFFSET) {
+ int dwarfreg = mono_hw_reg_to_dwarf_reg (hwreg);
g_assert (hwreg < nregs);
if (IS_DOUBLE_REG (dwarfreg))
regs [hwreg] = *(guint64*)(cfa_val + locations [hwreg].offset);