mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #6297 - brson:inline, r=jdm
This results in a 14% compile time improvement. See https://gist.github.com/brson/b48dd03b06c406be68e6 I'm not suggesting you merge this as-is, but you might consider whether removing some of these is worth pursuing. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6297) <!-- Reviewable:end -->
This commit is contained in:
commit
78665336e6
2 changed files with 11 additions and 11 deletions
|
@ -50,7 +50,7 @@ pub fn expand_jstraceable(cx: &mut ExtCtxt, span: Span, mitem: &MetaItem, item:
|
|||
args: vec!(ty::Ptr(box ty::Literal(ty::Path::new(vec!("js","jsapi","JSTracer"))),
|
||||
ty::Raw(ast::MutMutable))),
|
||||
ret_ty: ty::nil_ty(),
|
||||
attributes: vec![quote_attr!(cx, #[inline(always)])],
|
||||
attributes: vec![quote_attr!(cx, #[inline])],
|
||||
is_unsafe: false,
|
||||
combine_substructure: combine_substructure(box jstraceable_substructure)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue