Skip to content

Mark the {min,max}_value functions on integers #[inline]. - #25010

Merged
bors merged 1 commit into
rust-lang:masterfrom
huonw:inline-int-extremes
May 1, 2015
Merged

Mark the {min,max}_value functions on integers #[inline].#25010
bors merged 1 commit into
rust-lang:masterfrom
huonw:inline-int-extremes

Conversation

@huonw

Copy link
Copy Markdown
Contributor

These compile down to mov $CONSTANT, register; ret, but the lack of
#[inline] meant they have a full call ... when used from external
crates.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+ df9cc27

@alexcrichton

Copy link
Copy Markdown
Member

@bors: rollup

@huonwhuonw changed the title Mark the {min,max}_value functions in integers #[inline].Mark the {min,max}_value functions on integers #[inline].Apr 30, 2015
These compile down to `mov $CONSTANT, register; ret`, but the lack of
`#[inline]` meant they have a full `call ...` when used from external
crates.
@huonw
huonwforce-pushed the inline-int-extremes branch from df9cc27 to 7ba5f16CompareApril 30, 2015 23:15
@huonw

Copy link
Copy Markdown
ContributorAuthor

@bors r=alexcrichton 7ba5f16 rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request May 1, 2015
…ichton
These compile down to `mov $CONSTANT, register; ret`, but the lack of
`#[inline]` meant they have a full `call ...` when used from external
crates.
Manishearth added a commit to Manishearth/rust that referenced this pull request May 1, 2015
…ichton
These compile down to `mov $CONSTANT, register; ret`, but the lack of
`#[inline]` meant they have a full `call ...` when used from external
crates.
Manishearth added a commit to Manishearth/rust that referenced this pull request May 1, 2015
…ichton
These compile down to `mov $CONSTANT, register; ret`, but the lack of
`#[inline]` meant they have a full `call ...` when used from external
crates.
bors added a commit that referenced this pull request May 1, 2015
@bors
bors merged commit 7ba5f16 into rust-lang:masterMay 1, 2015
Sign up for freeto 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.

4 participants

@huonw@rust-highfive@alexcrichton@bors