]> git.lizzy.rs Git - rust.git/log
rust.git
7 years agoRollup merge of #38502 - michaelwoerister:ich-test-inherent-impls, r=nikomatsakis
Steve Klabnik [Sat, 24 Dec 2016 19:29:25 +0000 (14:29 -0500)]
Rollup merge of #38502 - michaelwoerister:ich-test-inherent-impls, r=nikomatsakis

ICH: Add test cases for inherent impls.

r? @nikomatsakis

7 years agoRollup merge of #38497 - QuietMisdreavus:rustdoc-where-again, r=steveklabnik
Steve Klabnik [Sat, 24 Dec 2016 19:29:23 +0000 (14:29 -0500)]
Rollup merge of #38497 - QuietMisdreavus:rustdoc-where-again, r=steveklabnik

rustdoc: properly calculate line length for where clauses

Apparently, while I was cleaning up #37190, I regressed the formatting for long where clauses, where it wouldn't take the "prefix" length into account when deciding whether to break the line up. This patch fixes that.

7 years agoRollup merge of #38480 - clarcharr:import_css, r=steveklabnik
Steve Klabnik [Sat, 24 Dec 2016 19:29:22 +0000 (14:29 -0500)]
Rollup merge of #38480 - clarcharr:import_css, r=steveklabnik

Don't @import normalize.css.

This lets the browser load both files in parallel instead of waiting for `rustdoc.css` to load first.

7 years agoRollup merge of #38297 - matklad:linked-lists-are-not-cool, r=GuillaumeGomez
Steve Klabnik [Sat, 24 Dec 2016 19:29:21 +0000 (14:29 -0500)]
Rollup merge of #38297 - matklad:linked-lists-are-not-cool, r=GuillaumeGomez

Advertise Vec in LinkedList docs

r? @steveklabnik

Hi! We already [advise](https://doc.rust-lang.org/std/collections/#use-a-linkedlist-when) to use `Vec` instead of `LinkedList` in the top-level collections documentation. But I think it may be missed by someone who just directly finds `LinkedList`.

What do you feel about advertising `Vec` directly in `LinkedList` docs as well?

7 years agoRollup merge of #38013 - wezm:simplify-test-notes, r=steveklabnik
Steve Klabnik [Sat, 24 Dec 2016 19:29:20 +0000 (14:29 -0500)]
Rollup merge of #38013 - wezm:simplify-test-notes, r=steveklabnik

Simplify notes on testing and concurrency

The start of the notes on tests running concurrently, added in https://github.com/rust-lang/rust/pull/37766 read a little awkwardly. This PR fixes that and simplifies the wording a bit.

r? @steveklabnik

7 years agoRollup merge of #37956 - tshepang:patch-2, r=steveklabnik
Steve Klabnik [Sat, 24 Dec 2016 19:29:19 +0000 (14:29 -0500)]
Rollup merge of #37956 - tshepang:patch-2, r=steveklabnik

book: replace example I do not understand

7 years agoAuto merge of #38062 - alexcrichton:fix-line-writer, r=brson
bors [Sat, 24 Dec 2016 13:28:37 +0000 (13:28 +0000)]
Auto merge of #38062 - alexcrichton:fix-line-writer, r=brson

std: Fix partial writes in LineWriter

Previously the `LineWriter` could successfully write some bytes but then fail to
report that it has done so. Additionally, an erroneous flush after a successful
write was permanently ignored. This commit fixes these two issues by (a)
maintaining a `need_flush` flag to indicate whether a flush should be the first
operation in `LineWriter::write` and (b) avoiding returning an error once some
bytes have been successfully written.

Closes #37807

7 years agoAuto merge of #38268 - withoutboats:parse_where_higher_rank_hack, r=eddyb
bors [Sat, 24 Dec 2016 00:22:00 +0000 (00:22 +0000)]
Auto merge of #38268 - withoutboats:parse_where_higher_rank_hack, r=eddyb

Prevent where < ident > from parsing.

In order to be forward compatible with `where<'a>` syntax for higher
rank parameters, prevent potential conflicts with UFCS from parsing
correctly for the near term.

7 years agoAuto merge of #38523 - camlorn:disable_field_reordering, r=nikomatsakis
bors [Fri, 23 Dec 2016 21:36:59 +0000 (21:36 +0000)]
Auto merge of #38523 - camlorn:disable_field_reordering, r=nikomatsakis

Disable field reordering

This was decided via IRC and needs a backport to beta.  Basically, #37429 broke servo, and probably needs an announcement and opt-in flag.  I didn't run all tests locally but think I've already reverted all the ones that need to be reverted.

r? @nikomatsakis

7 years agobook: replace example I do not understand
Tshepang Lekhonkhobe [Fri, 23 Dec 2016 20:32:27 +0000 (22:32 +0200)]
book: replace example I do not understand

7 years agoAuto merge of #38533 - jseyfried:legacy_custom_derive_deprecation, r=nrc
bors [Fri, 23 Dec 2016 18:43:12 +0000 (18:43 +0000)]
Auto merge of #38533 - jseyfried:legacy_custom_derive_deprecation, r=nrc

Allow legacy custom derive authors to disable warnings in downstream crates

This PR allows legacy custom derive authors to use a pre-deprecated method `registry.register_custom_derive()` instead of `registry.register_syntax_extension()` to avoid downstream deprecation warnings.

r? @nrc

7 years agoAuto merge of #38529 - nrc:save-sig, r=nikomatsakis
bors [Fri, 23 Dec 2016 15:59:07 +0000 (15:59 +0000)]
Auto merge of #38529 - nrc:save-sig, r=nikomatsakis

save-analysis: add signature info

These 'signatures' for definitions contain enough info for the RLS to create Rustdoc-style info on the fly.

7 years agoAuto merge of #38511 - Mark-Simulacrum:drop-glue, r=eddyb
bors [Fri, 23 Dec 2016 11:56:50 +0000 (11:56 +0000)]
Auto merge of #38511 - Mark-Simulacrum:drop-glue, r=eddyb

Make drop glue for unsized value pass two arguments instead of *(data, meta)

Fixes #36457

r? @eddyb

7 years agoAuto merge of #38401 - redox-os:redox_cross, r=brson
bors [Fri, 23 Dec 2016 09:09:26 +0000 (09:09 +0000)]
Auto merge of #38401 - redox-os:redox_cross, r=brson

Redox Cross Compilation

I will admit - there are things here that I wish I did not have to do. This completes the ability to create a cross compiler from the rust repository for `x86_64-unknown-redox`. I will document this PR with inline comments explaining some things.

[View this gist to see how a cross compiler is built](https://gist.github.com/jackpot51/6680ad973986e84d69c79854249f2b7e)

Prior discussion of a smaller change is here: https://github.com/rust-lang/rust/pull/38366

7 years agoAuto merge of #38232 - jseyfried:refactor_global_paths, r=nrc
bors [Fri, 23 Dec 2016 06:22:45 +0000 (06:22 +0000)]
Auto merge of #38232 - jseyfried:refactor_global_paths, r=nrc

Refactor global paths

This PR removes the field `global: bool` from `ast::Path` and `hir::Path`, instead representing a global path `::foo::bar` as `{{root}}::foo::bar`, where `{{root}}` is a virtual keyword `keywords::CrateRoot`.

Also, fixes #38016.

r? @nrc

7 years agoAllow legacy custom derive authors to disable warnings in downstream crates.
Jeffrey Seyfried [Thu, 22 Dec 2016 06:03:19 +0000 (06:03 +0000)]
Allow legacy custom derive authors to disable warnings in downstream crates.

7 years agoConvert fam to Symbol
Jeremy Soller [Fri, 23 Dec 2016 05:29:33 +0000 (22:29 -0700)]
Convert fam to Symbol

7 years agoCorrect target_family mess
Jeremy Soller [Fri, 23 Dec 2016 05:20:47 +0000 (22:20 -0700)]
Correct target_family mess

7 years agoDo not build emutls on Redox
Jeremy Soller [Fri, 23 Dec 2016 05:01:15 +0000 (22:01 -0700)]
Do not build emutls on Redox

7 years agoAuto merge of #38562 - brson:rm-llvm-lock, r=brson
bors [Fri, 23 Dec 2016 02:35:45 +0000 (02:35 +0000)]
Auto merge of #38562 - brson:rm-llvm-lock, r=brson

Delete the llvm submodule lockfile when configuring on the bots

This should fix the periodic error that .git/modules/src/llvm/index.lock
exists on the mac slaves.

7 years agoRevert rt.rs
Jeremy Soller [Thu, 22 Dec 2016 23:19:05 +0000 (16:19 -0700)]
Revert rt.rs

7 years agoRemove start functions, use newlib instead of openlibm + ralloc
Jeremy Soller [Thu, 22 Dec 2016 23:13:14 +0000 (16:13 -0700)]
Remove start functions, use newlib instead of openlibm + ralloc

7 years agoDelete the llvm submodule lockfile when configuring on the bots
Brian Anderson [Thu, 22 Dec 2016 22:00:21 +0000 (22:00 +0000)]
Delete the llvm submodule lockfile when configuring on the bots

This should fix the periodic error that .git/modules/src/llvm/index.lock
exists on the mac slaves.

7 years agoAuto merge of #38330 - ollie27:rustdoc_short_summaries, r=steveklabnik
bors [Thu, 22 Dec 2016 22:28:41 +0000 (22:28 +0000)]
Auto merge of #38330 - ollie27:rustdoc_short_summaries, r=steveklabnik

rustdoc: Fix short summaries in search results

They should be run through a Markdown renderer in rustdoc to remove
links.

This also fixes the mouse over text for the Crates list on the sidebar.

[before](https://doc.rust-lang.org/nightly/std/index.html?search=ord) [after](https://ollie27.github.io/rust_doc_test/std/index.html?search=ord)

7 years agoAuto merge of #38538 - estebank:outdated-fixme-3300, r=petrochenkov
bors [Thu, 22 Dec 2016 10:36:00 +0000 (10:36 +0000)]
Auto merge of #38538 - estebank:outdated-fixme-3300, r=petrochenkov

Remove outdated FIXME comment

Removed outdated FIXME comment referencing #3300 to allow anonymous items.

7 years agoRemove outdated FIXME comment
Esteban Küber [Thu, 22 Dec 2016 08:38:10 +0000 (00:38 -0800)]
Remove outdated FIXME comment

Removed FIXME comment referencing #3300.

7 years agoPretty-print `$crate::foo::bar` as `::foo::bar`.
Jeffrey Seyfried [Wed, 21 Dec 2016 05:31:07 +0000 (05:31 +0000)]
Pretty-print `$crate::foo::bar` as `::foo::bar`.

7 years agoRefactor how global paths are represented (for both ast and hir).
Jeffrey Seyfried [Mon, 5 Dec 2016 03:51:11 +0000 (03:51 +0000)]
Refactor how global paths are represented (for both ast and hir).

7 years agoIn order to successfully build, go back to ralloc
Jeremy Soller [Thu, 22 Dec 2016 04:57:43 +0000 (21:57 -0700)]
In order to successfully build, go back to ralloc

7 years agorebasing fix
Nick Cameron [Thu, 22 Dec 2016 04:01:45 +0000 (17:01 +1300)]
rebasing fix

7 years agoAdd RawFd traits for net
Jeremy Soller [Thu, 22 Dec 2016 03:19:19 +0000 (20:19 -0700)]
Add RawFd traits for net

7 years agosave-analysis signature stuff for json-api flavour.
Nick Cameron [Sun, 18 Dec 2016 00:37:40 +0000 (14:37 -1000)]
save-analysis signature stuff for json-api flavour.

7 years agosignature info for other items (mods, fns, methods, etc.)
Nick Cameron [Tue, 29 Nov 2016 22:50:08 +0000 (11:50 +1300)]
signature info for other items (mods, fns, methods, etc.)

7 years agofurther lowering of signature data
Nick Cameron [Mon, 21 Nov 2016 21:05:25 +0000 (10:05 +1300)]
further lowering of signature data

7 years agofield signatures
Nick Cameron [Mon, 21 Nov 2016 19:12:02 +0000 (08:12 +1300)]
field signatures

7 years agosave-analysis: fix ICE on partially resolved path
Nick Cameron [Mon, 21 Nov 2016 05:11:36 +0000 (18:11 +1300)]
save-analysis: fix ICE on partially resolved path

Occurs when we produce save-analysis before type checking is complete (due to errors).

7 years agosave-analysis: add `Signature` info to structs
Nick Cameron [Sun, 20 Nov 2016 18:07:40 +0000 (07:07 +1300)]
save-analysis: add `Signature` info to structs

7 years agoDisable field reordering
Austin Hicks [Wed, 21 Dec 2016 22:59:30 +0000 (17:59 -0500)]
Disable field reordering

7 years agoAuto merge of #38427 - brson:relnotes, r=alexcrichton
bors [Wed, 21 Dec 2016 19:46:27 +0000 (19:46 +0000)]
Auto merge of #38427 - brson:relnotes, r=alexcrichton

1.14 release notes

[Rendered](https://github.com/brson/rust/blob/relnotes/RELEASES.md).

Is there anything I'm missing? Were there any library stabilizations?

The most interesting thing this time seems to be rustup, then compile time opts, `..` matches, cargo exposing `cfg` values to build scripts. This release also has wasm support, but it's pretty rough. Might be worth hyping up all the same. ARM MUSL targets.

There are a large number of compatibility notes. Might be worth talking about that.

Relevant prlo links: goo.gl/PGz2Ds, goo.gl/KV23Qv, goo.gl/g7ku6D.

7 years agoMake drop glue for unsized value pass two arguments instead of *(data, meta)
Mark Simulacrum [Tue, 20 Dec 2016 17:46:44 +0000 (10:46 -0700)]
Make drop glue for unsized value pass two arguments instead of *(data, meta)

7 years agoMerge branch 'redox_cross' of https://github.com/redox-os/rust into redox_cross
Jeremy Soller [Wed, 21 Dec 2016 18:38:13 +0000 (11:38 -0700)]
Merge branch 'redox_cross' of https://github.com/redox-os/rust into redox_cross

7 years agoUpdate liblibc, go back to lazy linking openlibm
Jeremy Soller [Wed, 21 Dec 2016 18:38:04 +0000 (11:38 -0700)]
Update liblibc, go back to lazy linking openlibm

7 years agoAuto merge of #38488 - srinivasreddy:rf_collections, r=aturon
bors [Wed, 21 Dec 2016 15:30:20 +0000 (15:30 +0000)]
Auto merge of #38488 - srinivasreddy:rf_collections, r=aturon

run rustfmt on libcollections folder

7 years agoAuto merge of #38302 - Mark-Simulacrum:trans-cleanup, r=eddyb
bors [Wed, 21 Dec 2016 10:38:22 +0000 (10:38 +0000)]
Auto merge of #38302 - Mark-Simulacrum:trans-cleanup, r=eddyb

Cleanup old trans

This is a cleanup of old trans, with the following main points:
 - Remove the `build.rs` API (prefer using `Builder` directly, which is now passed where needed through `BlockAndBuilder`).
 - Remove `Block` (inlining it into `BlockAndBuilder`)
 - Remove `Callee::call`, primarily through inlining and simplification of code.
 - Thinned `FunctionContext`:
   - `mir`, `debug_scopes`, `scopes`, and `fn_ty` are moved to `MirContext`.
   - `param_env` is moved to `SharedCrateContext` and renamed to `empty_param_env`.
   - `llretslotptr` is removed, replaced with more careful management of the return values in calls.
   - `landingpad_alloca` is inlined into cleanup.
   - `param_substs` are moved to `MirContext`.
   - `span` is removed, it was never set to anything but `None`.
   - `block_arena` and `lpad_arena` are removed, since neither was necessary (landing pads and block are quite small, and neither needs arena allocation).
 - Fixed `drop_in_place` not running other destructors in the same function.

Fixes #35566 (thanks to @est31 for confirming).

7 years agoAuto merge of #38099 - GuillaumeGomez:cast_suggestions, r=nikomatsakis
bors [Wed, 21 Dec 2016 07:28:16 +0000 (07:28 +0000)]
Auto merge of #38099 - GuillaumeGomez:cast_suggestions, r=nikomatsakis

Cast suggestions

r? @nikomatsakis

7 years agoFix tidy
Jeremy Soller [Wed, 21 Dec 2016 04:29:42 +0000 (21:29 -0700)]
Fix tidy

7 years agoFix rebase errors.
Mark Simulacrum [Wed, 21 Dec 2016 03:37:19 +0000 (20:37 -0700)]
Fix rebase errors.

7 years agoAuto merge of #38506 - alexcrichton:fix-makefiles, r=brson
bors [Wed, 21 Dec 2016 03:09:14 +0000 (03:09 +0000)]
Auto merge of #38506 - alexcrichton:fix-makefiles, r=brson

mk: Fix compile with makefiles

A tweak was made to dependencies in #38451 but the makefiles weren't updated to
accompany this. Instead of trying to integerate the `build_helper` crate into
the makefiles (which currently isn't present) this commit takes the approach of
just duplicating the required logic, which should be small enough for now.

7 years agoReuse cleanup pad declared at start of block.
Mark Simulacrum [Tue, 20 Dec 2016 21:14:30 +0000 (14:14 -0700)]
Reuse cleanup pad declared at start of block.

7 years agoImprove cache quality for eh_personality.
Mark Simulacrum [Tue, 20 Dec 2016 04:41:03 +0000 (21:41 -0700)]
Improve cache quality for eh_personality.

7 years agoMove eh_unwind_resume into CrateContext
Mark Simulacrum [Tue, 20 Dec 2016 04:26:49 +0000 (21:26 -0700)]
Move eh_unwind_resume into CrateContext

Also improves cache quality.

7 years agoSimplify get_landing_pad by inlining UnwindKind.
Mark Simulacrum [Tue, 20 Dec 2016 04:16:58 +0000 (21:16 -0700)]
Simplify get_landing_pad by inlining UnwindKind.

7 years agoAdd unreachable() after calls to eh_unwind_resume.
Mark Simulacrum [Tue, 20 Dec 2016 03:09:51 +0000 (20:09 -0700)]
Add unreachable() after calls to eh_unwind_resume.

7 years agoSimplify callee by removing is_indirect branch.
Mark Simulacrum [Tue, 20 Dec 2016 02:57:39 +0000 (19:57 -0700)]
Simplify callee by removing is_indirect branch.

7 years agoMove eh_personality() onto CrateContext
Mark Simulacrum [Tue, 20 Dec 2016 02:32:50 +0000 (19:32 -0700)]
Move eh_personality() onto CrateContext

7 years agoRemove outdated comment
Mark Simulacrum [Tue, 20 Dec 2016 02:17:03 +0000 (19:17 -0700)]
Remove outdated comment

7 years agoRemove fn_ty from FunctionContext
Mark Simulacrum [Tue, 20 Dec 2016 02:16:36 +0000 (19:16 -0700)]
Remove fn_ty from FunctionContext

7 years agoslice_for_each gives a reference already
Mark Simulacrum [Tue, 20 Dec 2016 01:51:10 +0000 (18:51 -0700)]
slice_for_each gives a reference already

7 years agoReduce coerce_unsized_into to one call
Mark Simulacrum [Tue, 20 Dec 2016 01:47:30 +0000 (18:47 -0700)]
Reduce coerce_unsized_into to one call

We cannot inline due to it being recursive.

7 years agoRemove outdated comment
Mark Simulacrum [Tue, 20 Dec 2016 01:34:42 +0000 (18:34 -0700)]
Remove outdated comment

7 years agoInline make_drop_glue
Mark Simulacrum [Tue, 20 Dec 2016 01:34:07 +0000 (18:34 -0700)]
Inline make_drop_glue

7 years agoRemove needless check
Mark Simulacrum [Tue, 20 Dec 2016 01:25:56 +0000 (18:25 -0700)]
Remove needless check

7 years agoMove get_landing_pad onto DropVal.
Mark Simulacrum [Tue, 20 Dec 2016 01:19:19 +0000 (18:19 -0700)]
Move get_landing_pad onto DropVal.

7 years agoUse fn_ty directly
Mark Simulacrum [Tue, 20 Dec 2016 01:07:19 +0000 (18:07 -0700)]
Use fn_ty directly

7 years agoDo not use BAB after calling unreachable.
Mark Simulacrum [Tue, 20 Dec 2016 00:59:26 +0000 (17:59 -0700)]
Do not use BAB after calling unreachable.

This does not make unreachable and other terminators take self by-value
because it is deemed too difficult. We would need to create by-value
methods on BAB that call into Builder, due to the Deref to builder.

7 years agoChange *.fcx.ccx to *.ccx
Mark Simulacrum [Tue, 20 Dec 2016 00:48:41 +0000 (17:48 -0700)]
Change *.fcx.ccx to *.ccx

7 years agoMutate llargs instead of reconstructing it.
Mark Simulacrum [Tue, 20 Dec 2016 00:39:14 +0000 (17:39 -0700)]
Mutate llargs instead of reconstructing it.

7 years agoReplace bcx.ccx() with bcx.ccx
Mark Simulacrum [Mon, 19 Dec 2016 23:25:00 +0000 (16:25 -0700)]
Replace bcx.ccx() with bcx.ccx

7 years agoRemove unecessary logic.
Mark Simulacrum [Mon, 19 Dec 2016 23:16:22 +0000 (16:16 -0700)]
Remove unecessary logic.

7 years agoAdd helper function to set debug locations
Mark Simulacrum [Mon, 19 Dec 2016 21:38:16 +0000 (14:38 -0700)]
Add helper function to set debug locations

7 years agoClean up uses of set_personality_fn.
Mark Simulacrum [Mon, 19 Dec 2016 21:10:48 +0000 (14:10 -0700)]
Clean up uses of set_personality_fn.

Remove gnu/msvc constructors for Funclet; these are worse for
readability than explicit Some/None.

7 years agoChange param_env to empty_param_env
Mark Simulacrum [Mon, 19 Dec 2016 15:09:03 +0000 (08:09 -0700)]
Change param_env to empty_param_env

7 years agoSimplify funclets creation.
Mark Simulacrum [Mon, 19 Dec 2016 15:00:46 +0000 (08:00 -0700)]
Simplify funclets creation.

7 years agoRemove unused bcx from LocalAnalyzer.
Mark Simulacrum [Mon, 19 Dec 2016 14:47:09 +0000 (07:47 -0700)]
Remove unused bcx from LocalAnalyzer.

7 years agoMove debug info check into create_function_debug_context
Mark Simulacrum [Mon, 19 Dec 2016 14:33:35 +0000 (07:33 -0700)]
Move debug info check into create_function_debug_context

7 years agoRemove public ccx function on MirContext
Mark Simulacrum [Mon, 19 Dec 2016 14:15:00 +0000 (07:15 -0700)]
Remove public ccx function on MirContext

7 years agoMake debuginfo take debug_context instead of MirContext
Mark Simulacrum [Mon, 19 Dec 2016 06:04:25 +0000 (23:04 -0700)]
Make debuginfo take debug_context instead of MirContext

7 years agoRemove unreachable call to unreachable
Mark Simulacrum [Mon, 19 Dec 2016 06:01:06 +0000 (23:01 -0700)]
Remove unreachable call to unreachable

7 years agoFix and cleanup callee shims
Mark Simulacrum [Mon, 19 Dec 2016 05:24:42 +0000 (22:24 -0700)]
Fix and cleanup callee shims

7 years agoRebase fixes
Mark Simulacrum [Mon, 19 Dec 2016 00:31:54 +0000 (17:31 -0700)]
Rebase fixes

7 years agoMake add_incoming_to_phi call slightly less confusing.
Mark Simulacrum [Mon, 19 Dec 2016 00:13:09 +0000 (17:13 -0700)]
Make add_incoming_to_phi call slightly less confusing.

7 years agoInline and simplify init_cpad
Mark Simulacrum [Mon, 19 Dec 2016 00:04:00 +0000 (17:04 -0700)]
Inline and simplify init_cpad

7 years agoDon't special case abort/unreachable intrinsics
Mark Simulacrum [Sun, 18 Dec 2016 23:25:37 +0000 (16:25 -0700)]
Don't special case abort/unreachable intrinsics

7 years agoRemove llretslotptr from FunctionContext
Mark Simulacrum [Sun, 18 Dec 2016 23:06:41 +0000 (16:06 -0700)]
Remove llretslotptr from FunctionContext

7 years agoMove param_substs onto MirContext
Mark Simulacrum [Sun, 18 Dec 2016 23:05:40 +0000 (16:05 -0700)]
Move param_substs onto MirContext

7 years agoMove param_env onto SharedCrateContext, and move functions which need the ParamEnv...
Mark Simulacrum [Sun, 18 Dec 2016 18:50:07 +0000 (11:50 -0700)]
Move param_env onto SharedCrateContext, and move functions which need the ParamEnv onto it.

7 years agoMove debug_context to MirContext from FunctionContext
Mark Simulacrum [Sun, 18 Dec 2016 18:08:57 +0000 (11:08 -0700)]
Move debug_context to MirContext from FunctionContext

7 years agoRemove lifetime parameter
Mark Simulacrum [Sun, 18 Dec 2016 17:18:47 +0000 (10:18 -0700)]
Remove lifetime parameter

7 years agoInline get_funclet
Mark Simulacrum [Sun, 18 Dec 2016 16:46:11 +0000 (09:46 -0700)]
Inline get_funclet

7 years agoInline last remaining use of Callee::call and delete unused code
Mark Simulacrum [Sun, 18 Dec 2016 16:42:50 +0000 (09:42 -0700)]
Inline last remaining use of Callee::call and delete unused code

7 years agoInline and cleanup build_return_block
Mark Simulacrum [Sun, 18 Dec 2016 16:07:35 +0000 (09:07 -0700)]
Inline and cleanup build_return_block

7 years agoInline/Replace finish with build_return_block
Mark Simulacrum [Sun, 18 Dec 2016 03:19:34 +0000 (20:19 -0700)]
Inline/Replace finish with build_return_block

7 years agoRename 'blk and 'bcx to 'a
Mark Simulacrum [Sun, 18 Dec 2016 02:54:32 +0000 (19:54 -0700)]
Rename 'blk and 'bcx to 'a

7 years agoFurther simplify intrinsic matching
Mark Simulacrum [Sun, 18 Dec 2016 01:25:32 +0000 (18:25 -0700)]
Further simplify intrinsic matching

7 years agoSimplify intrinsic match statement
Mark Simulacrum [Sat, 17 Dec 2016 23:42:16 +0000 (16:42 -0700)]
Simplify intrinsic match statement

7 years agoInline memfill and merge with memset_intrinsic.
Mark Simulacrum [Sat, 17 Dec 2016 22:52:29 +0000 (15:52 -0700)]
Inline memfill and merge with memset_intrinsic.

7 years agoReduce extensions to FunctionContext in cleanup.
Mark Simulacrum [Sat, 17 Dec 2016 22:34:38 +0000 (15:34 -0700)]
Reduce extensions to FunctionContext in cleanup.

7 years agoRemove Ref::clone for MirContext mir
Mark-Simulacrum [Sat, 17 Dec 2016 19:56:33 +0000 (12:56 -0700)]
Remove Ref::clone for MirContext mir

7 years agoRefactor Callee::call to take bcx by-reference.
Mark-Simulacrum [Sat, 17 Dec 2016 19:27:48 +0000 (12:27 -0700)]
Refactor Callee::call to take bcx by-reference.

Also change to not return anything; nothing used the return ValueRef.

Inlines with_cond.

7 years agoRemove unused imports
Mark-Simulacrum [Sat, 17 Dec 2016 19:02:09 +0000 (12:02 -0700)]
Remove unused imports