Skip to content

[Yul] introduce break/continue keywords. #6136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2019

Conversation

christianparpart
Copy link
Member

@christianparpart christianparpart commented Feb 28, 2019

This PR implements break and continue keywords in Yul. (refs #4576)

Checklist

  • code generation for EVM backend (currently just yulAssert()'ting)
  • interpreter
  • syntax tests for each keyword

Copy link
Contributor

@chriseth chriseth left a comment

Choose a reason for hiding this comment

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

We should be careful not to merge this before the optimizer can cope with it (or at least put assertions in the appropriate places).

@axic
Copy link
Member

axic commented Feb 28, 2019

Perhaps to simplify this, as a first step one could add full support to the parser and rejecting it in the analyser. I think that would be safe to merge even now, without the need to update optimisers.

@christianparpart christianparpart force-pushed the yul-break-continue branch 5 times, most recently from 2b2ee2e to 77586e9 Compare February 28, 2019 13:59
@christianparpart christianparpart force-pushed the yul-break-continue branch 3 times, most recently from 80e28d4 to 5d6b0f8 Compare February 28, 2019 15:05
@christianparpart christianparpart force-pushed the yul-break-continue branch 2 times, most recently from fcd943e to 14ebc1c Compare March 4, 2019 09:19
@codecov

This comment has been minimized.

@christianparpart christianparpart force-pushed the yul-break-continue branch 4 times, most recently from f16fa65 to 88469cb Compare March 4, 2019 15:10
@christianparpart christianparpart dismissed chriseth’s stale review March 4, 2019 17:35

done, so far. (more changes still pending, still in WIP-status)

@chriseth

This comment has been minimized.

@chriseth

This comment has been minimized.

@christianparpart christianparpart force-pushed the yul-break-continue branch 4 times, most recently from e211913 to 764f4e4 Compare March 11, 2019 14:03
@christianparpart christianparpart force-pushed the yul-break-continue branch 2 times, most recently from 75e7758 to bf17f5f Compare March 11, 2019 15:22
@christianparpart christianparpart changed the title [WIP] [Yul] introduce break/continue keywords. [Yul] introduce break/continue keywords. Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants