projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0812806
)
[profiler] Add a missing method_leave event for the CEE_MONO_RETOBJ opcode.
author
Alex Rønne Petersen
<alpeters@microsoft.com>
Thu, 24 Aug 2017 15:08:49 +0000
(17:08 +0200)
committer
Alex Rønne Petersen
<alpeters@microsoft.com>
Thu, 24 Aug 2017 15:08:49 +0000
(17:08 +0200)
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 31c5513743eb140e004b0bf81e774d26d3798676..104df90ad0f418f99f369a69af2442111fe7006e 100644
(file)
--- a/
mono/mini/method-to-ir.c
+++ b/
mono/mini/method-to-ir.c
@@
-11688,6
+11688,8
@@
mono_method_to_ir (MonoCompile *cfg, MonoMethod *method, MonoBasicBlock *start_b
if (sp != stack_start)
UNVERIFIED;
+ mini_profiler_emit_leave (cfg, sp [0]);
+
MONO_INST_NEW (cfg, ins, OP_BR);
ins->inst_target_bb = end_bblock;
MONO_ADD_INS (cfg->cbb, ins);