Skip to content

Autoderef calls #606

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

Closed
wants to merge 2 commits into from
Closed

Autoderef calls #606

wants to merge 2 commits into from

Conversation

msullivan
Copy link
Contributor

Implement autoderef for function calls.

This is important since we are going to be making functions noncopyable
soon, which means we'll be seeing a lot of boxed functions.
(*f)(...) is really just too heavyweight.

msullivan added 2 commits July 1, 2011 02:55
This is important since we are going to be making functions noncopyable
soon, which means we'll be seeing a lot of boxed functions.
(*f)(...) is really just too heavyweight.

Doing the autodereferencing was a very little bit tricky since
trans_call works with an *lval* of the function whereas existing
autoderef code was not for lvals.
@marijnh
Copy link
Contributor

marijnh commented Jul 1, 2011

Merged!

@marijnh marijnh closed this Jul 1, 2011
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
…, r=alexcrichton

Add _SC_NPROCESSORS_CONF on Linux
pdietl pushed a commit to pdietl/rust that referenced this pull request Apr 23, 2020
bors pushed a commit to rust-lang-ci/rust that referenced this pull request Oct 26, 2020
ZuseZ4 added a commit to EnzymeAD/rust that referenced this pull request Mar 7, 2023
* handle cin

* wip, more input-fncs

* adding various IO handling

* fix ci

* extract cerr test, extra handling

* wcout and local, still buggy

* handle different mangling

* add allocator as inactive

* update Cacheable List and rename Fn

* update if condition, undo renaming

* remove unconditional print

* make condition more precise

* Undo isCertainPrintMallocOrFree changes
celinval added a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
and also build rmc library as part of the regression script.

Co-authored-by: Daniel Schwartz-Narbonne <[email protected]>
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