Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Remove prepare_trace_output and make sure prepare_trace_call and trace*call are balanced #9353

Merged
merged 1 commit into from
Aug 14, 2018

Conversation

sorpaas
Copy link
Collaborator

@sorpaas sorpaas commented Aug 14, 2018

This refactors prepare_trace_output to instead directly take the reference of return values, so that it's simpler and we save a stack item. This should also fixes the issue @udoprog is facing. Replaces #9236

@sorpaas sorpaas added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Aug 14, 2018
@sorpaas sorpaas added this to the 2.1 milestone Aug 14, 2018
Copy link
Collaborator

@debris debris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simple and neat! 👍

@debris debris added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Aug 14, 2018
Copy link
Contributor

@andresilva andresilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@andresilva andresilva merged commit 1ac4676 into master Aug 14, 2018
@debris debris deleted the sp-trace-fix branch August 14, 2018 15:19
@udoprog
Copy link
Contributor

udoprog commented Aug 14, 2018

Nice, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants