Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

Add build_unary_op, use it instead of stabilize_expr for various unary ops #658

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented May 1, 2018

From discussion in #640, stabilize_expr should be repurposed into two kinds of functions. The first that applies operations on complex/compound lvalue expressions, the second that removes all side effects from an expression and returns a single lvalue.

This is the first, will move other helper functions over to this in steps to make sure nothing gets broken.

@ibuclaw ibuclaw changed the title Add build_unary_op, use it instead of stabilize_expr for unary NOP Add build_unary_op, use it instead of stabilize_expr for various unary ops May 1, 2018
@ibuclaw ibuclaw force-pushed the complexunary branch 2 times, most recently from 29fb636 to eb9c8d6 Compare May 5, 2018 09:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant