Skip to content

Correct fat pointer generation by codegen_rvalue_ref#101

Merged
markrtuttle merged 2 commits intomain-151-2021-04-26from
correct-fat-pointers-in-codegen-rvalue-ref-mrtuttle
Apr 26, 2021
Merged

Correct fat pointer generation by codegen_rvalue_ref#101
markrtuttle merged 2 commits intomain-151-2021-04-26from
correct-fat-pointers-in-codegen-rvalue-ref-mrtuttle

Conversation

@markrtuttle
Copy link
Copy Markdown
Contributor

Correct fat pointer generation by codegen_rvalue_ref.

Also restore the SizeAndAlignOfDst regression that now passes.

Description of changes:

Describe RMC's current behavior and how your code changes that behavior. If there are no issues this PR is resolving, explain why this change is necessary.

Resolved issues:

Resolves #ISSUE-NUMBER

Call-outs:

Testing:

  • How is this change tested?

  • Is this a refactor change?

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@markrtuttle markrtuttle force-pushed the correct-fat-pointers-in-codegen-rvalue-ref-mrtuttle branch from 7f60ca5 to a6c0df5 Compare April 24, 2021 16:31
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It took me a second to realize that these are block comments for a bunch of code. Maybe distinguish that visually somehow?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It took me a second to realize that these are block comments for a bunch of code. Maybe distinguish that visually somehow?

Copy link
Copy Markdown
Contributor

@danielsn danielsn left a comment

Choose a reason for hiding this comment

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

Mostly, looks great. For the first time, I think I understand what rvalue-ref is supposed to do.
My concern is the lack of tests. There is only one in this PR, which doesn't have any assertions.

  1. Would it be possible to add an assertion to that test?
  2. Are there other tests which already cover this functionality?

@danielsn danielsn changed the base branch from main-151-2021-04-16 to main-151-2021-04-26 April 26, 2021 20:29
Also restore the SizeAndAlignOfDst regression that now passes.
@markrtuttle markrtuttle force-pushed the correct-fat-pointers-in-codegen-rvalue-ref-mrtuttle branch from a6c0df5 to e3c12ff Compare April 26, 2021 20:55
@markrtuttle markrtuttle merged commit 8f6e668 into main-151-2021-04-26 Apr 26, 2021
@markrtuttle markrtuttle deleted the correct-fat-pointers-in-codegen-rvalue-ref-mrtuttle branch April 26, 2021 22:14
adpaco-aws pushed a commit that referenced this pull request May 5, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request May 10, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request May 26, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request Jun 1, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request Jun 7, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request Jun 17, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request Jun 23, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request Jul 2, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request Jul 9, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request Jul 15, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request Jul 26, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request Aug 2, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
@zhassan-aws zhassan-aws mentioned this pull request Aug 6, 2021
4 tasks
adpaco-aws pushed a commit that referenced this pull request Aug 6, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request Aug 17, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
adpaco-aws pushed a commit that referenced this pull request Aug 24, 2021
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
celinval pushed a commit to celinval/kani-dev that referenced this pull request Jan 12, 2022
tedinski pushed a commit to tedinski/rmc that referenced this pull request Apr 26, 2022
)

* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
tedinski pushed a commit that referenced this pull request Apr 27, 2022
* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
danielsn pushed a commit to danielsn/kani that referenced this pull request May 11, 2022
)

* Correct fat pointer generation by codegen_rvalue_ref

Also restore the SizeAndAlignOfDst regression that now passes.

* Respond to code review on correct fat pointer in codegen rvalue ref

Co-authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
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.

2 participants