diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-02-01 16:47:35 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-02-01 16:47:35 +0100 |
| commit | 33e73091f8d4299e7f281a7d5da5184bf055c895 (patch) | |
| tree | f60c0a09ea82e26cd1ec7d85d541774654f37cae /src/optimize | |
| parent | 52d183ead624d43c293d12708a9eb3574e8cd17f (diff) | |
| download | rust-33e73091f8d4299e7f281a7d5da5184bf055c895.tar.gz rust-33e73091f8d4299e7f281a7d5da5184bf055c895.zip | |
Don't mark unwind ebbs as cold
This fixes the code_layout optimization, as it would previously try to move non-existing ebbs. Fixes #877
Diffstat (limited to 'src/optimize')
| -rw-r--r-- | src/optimize/code_layout.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/optimize/code_layout.rs b/src/optimize/code_layout.rs index 9ceca814150..4d2301c6f6c 100644 --- a/src/optimize/code_layout.rs +++ b/src/optimize/code_layout.rs @@ -11,8 +11,6 @@ use crate::prelude::*; pub(super) fn optimize_function(ctx: &mut Context, cold_ebbs: &EntitySet<Ebb>) { - return; // FIXME add ebb arguments back - // FIXME Move the ebb in place instead of remove and append once // bytecodealliance/cranelift#1339 is implemented. |
