File tree 12 files changed +63
-442
lines changed
12 files changed +63
-442
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "regalloc2"
3
3
version = " 0.0.1"
4
4
authors = [
" Chris Fallin <[email protected] >" ,
" Mozilla SpiderMonkey Developers" ]
5
5
edition = " 2018"
6
- license = " Apache-2.0 WITH LLVM-exception AND MPL-2.0 "
6
+ license = " Apache-2.0 WITH LLVM-exception"
7
7
description = " Backtracking register allocator inspired from IonMonkey"
8
8
repository = " https://github.com/bytecodealliance/regalloc2"
9
9
Original file line number Diff line number Diff line change @@ -15,18 +15,8 @@ how the allocator works.
15
15
16
16
## License
17
17
18
- Unless otherwise specified, code in this crate is licensed under the Apache 2.0
19
- License with LLVM Exception. This license text can be found in the file
20
- ` LICENSE ` .
21
-
22
- Files in the ` src/ion/ ` directory are directly ported from original C++ code in
23
- IonMonkey, a part of the Firefox codebase. Parts of ` src/lib.rs ` are also
24
- definitions that are directly translated from this original code. As a result,
25
- these files are derivative works and are covered by the Mozilla Public License
26
- (MPL) 2.0, as described in license headers in those files. Please see the
27
- notices in relevant files for links to the original IonMonkey source files from
28
- which they have been translated/derived. The MPL text can be found in
29
- ` src/ion/LICENSE ` .
18
+ This crate is licensed under the Apache 2.0 License with LLVM
19
+ Exception. This license text can be found in the file ` LICENSE ` .
30
20
31
21
Parts of the code are derived from regalloc.rs: in particular,
32
22
` src/checker.rs ` and ` src/domtree.rs ` . This crate has the same license
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
/*
2
- * The following license applies to this file, which was initially
3
- * derived from the files `js/src/jit/BacktrackingAllocator.h` and
4
- * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox:
5
- *
6
- * This Source Code Form is subject to the terms of the Mozilla Public
7
- * License, v. 2.0. If a copy of the MPL was not distributed with this
8
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
2
+ * This file was initially derived from the files
3
+ * `js/src/jit/BacktrackingAllocator.h` and
4
+ * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox, and was
5
+ * originally licensed under the Mozilla Public License 2.0. We
6
+ * subsequently relicensed it to Apache-2.0 WITH LLVM-exception (see
7
+ * https://github.com/bytecodealliance/regalloc2/issues/7).
9
8
*
10
9
* Since the initial port, the design has been substantially evolved
11
10
* and optimized.
Original file line number Diff line number Diff line change 1
1
/*
2
- * The following license applies to this file, which was initially
3
- * derived from the files `js/src/jit/BacktrackingAllocator.h` and
4
- * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox:
5
- *
6
- * This Source Code Form is subject to the terms of the Mozilla Public
7
- * License, v. 2.0. If a copy of the MPL was not distributed with this
8
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
2
+ * This file was initially derived from the files
3
+ * `js/src/jit/BacktrackingAllocator.h` and
4
+ * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox, and was
5
+ * originally licensed under the Mozilla Public License 2.0. We
6
+ * subsequently relicensed it to Apache-2.0 WITH LLVM-exception (see
7
+ * https://github.com/bytecodealliance/regalloc2/issues/7).
9
8
*
10
9
* Since the initial port, the design has been substantially evolved
11
10
* and optimized.
Original file line number Diff line number Diff line change 1
1
/*
2
- * The following license applies to this file, which was initially
3
- * derived from the files `js/src/jit/BacktrackingAllocator.h` and
4
- * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox:
5
- *
6
- * This Source Code Form is subject to the terms of the Mozilla Public
7
- * License, v. 2.0. If a copy of the MPL was not distributed with this
8
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
2
+ * This file was initially derived from the files
3
+ * `js/src/jit/BacktrackingAllocator.h` and
4
+ * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox, and was
5
+ * originally licensed under the Mozilla Public License 2.0. We
6
+ * subsequently relicensed it to Apache-2.0 WITH LLVM-exception (see
7
+ * https://github.com/bytecodealliance/regalloc2/issues/7).
9
8
*
10
9
* Since the initial port, the design has been substantially evolved
11
10
* and optimized.
Original file line number Diff line number Diff line change 1
1
/*
2
- * The following license applies to this file, which was initially
3
- * derived from the files `js/src/jit/BacktrackingAllocator.h` and
4
- * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox:
5
- *
6
- * This Source Code Form is subject to the terms of the Mozilla Public
7
- * License, v. 2.0. If a copy of the MPL was not distributed with this
8
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
2
+ * This file was initially derived from the files
3
+ * `js/src/jit/BacktrackingAllocator.h` and
4
+ * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox, and was
5
+ * originally licensed under the Mozilla Public License 2.0. We
6
+ * subsequently relicensed it to Apache-2.0 WITH LLVM-exception (see
7
+ * https://github.com/bytecodealliance/regalloc2/issues/7).
9
8
*
10
9
* Since the initial port, the design has been substantially evolved
11
10
* and optimized.
Original file line number Diff line number Diff line change 1
1
/*
2
- * The following license applies to this file, which was initially
3
- * derived from the files `js/src/jit/BacktrackingAllocator.h` and
4
- * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox:
5
- *
6
- * This Source Code Form is subject to the terms of the Mozilla Public
7
- * License, v. 2.0. If a copy of the MPL was not distributed with this
8
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
2
+ * This file was initially derived from the files
3
+ * `js/src/jit/BacktrackingAllocator.h` and
4
+ * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox, and was
5
+ * originally licensed under the Mozilla Public License 2.0. We
6
+ * subsequently relicensed it to Apache-2.0 WITH LLVM-exception (see
7
+ * https://github.com/bytecodealliance/regalloc2/issues/7).
9
8
*
10
9
* Since the initial port, the design has been substantially evolved
11
10
* and optimized.
Original file line number Diff line number Diff line change 1
1
/*
2
- * The following license applies to this file, which was initially
3
- * derived from the files `js/src/jit/BacktrackingAllocator.h` and
4
- * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox:
5
- *
6
- * This Source Code Form is subject to the terms of the Mozilla Public
7
- * License, v. 2.0. If a copy of the MPL was not distributed with this
8
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
2
+ * This file was initially derived from the files
3
+ * `js/src/jit/BacktrackingAllocator.h` and
4
+ * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox, and was
5
+ * originally licensed under the Mozilla Public License 2.0. We
6
+ * subsequently relicensed it to Apache-2.0 WITH LLVM-exception (see
7
+ * https://github.com/bytecodealliance/regalloc2/issues/7).
9
8
*
10
9
* Since the initial port, the design has been substantially evolved
11
10
* and optimized.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * This file was initially derived from the files
3
+ * `js/src/jit/BacktrackingAllocator.h` and
4
+ * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox, and was
5
+ * originally licensed under the Mozilla Public License 2.0. We
6
+ * subsequently relicensed it to Apache-2.0 WITH LLVM-exception (see
7
+ * https://github.com/bytecodealliance/regalloc2/issues/7).
8
+ *
9
+ * Since the initial port, the design has been substantially evolved
10
+ * and optimized.
11
+ */
12
+
1
13
//! Requirements computation.
2
14
3
15
use super :: { Env , LiveBundleIndex } ;
Original file line number Diff line number Diff line change 1
1
/*
2
- * The following license applies to this file, which was initially
3
- * derived from the files `js/src/jit/BacktrackingAllocator.h` and
4
- * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox:
5
- *
6
- * This Source Code Form is subject to the terms of the Mozilla Public
7
- * License, v. 2.0. If a copy of the MPL was not distributed with this
8
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
2
+ * This file was initially derived from the files
3
+ * `js/src/jit/BacktrackingAllocator.h` and
4
+ * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox, and was
5
+ * originally licensed under the Mozilla Public License 2.0. We
6
+ * subsequently relicensed it to Apache-2.0 WITH LLVM-exception (see
7
+ * https://github.com/bytecodealliance/regalloc2/issues/7).
9
8
*
10
9
* Since the initial port, the design has been substantially evolved
11
10
* and optimized.
Original file line number Diff line number Diff line change 1
1
/*
2
- * The following license applies to this file, which was initially
3
- * derived from the files `js/src/jit/BacktrackingAllocator.h` and
4
- * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox:
5
- *
6
- * This Source Code Form is subject to the terms of the Mozilla Public
7
- * License, v. 2.0. If a copy of the MPL was not distributed with this
8
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
2
+ * This file was initially derived from the files
3
+ * `js/src/jit/BacktrackingAllocator.h` and
4
+ * `js/src/jit/BacktrackingAllocator.cpp` in Mozilla Firefox, and was
5
+ * originally licensed under the Mozilla Public License 2.0. We
6
+ * subsequently relicensed it to Apache-2.0 WITH LLVM-exception (see
7
+ * https://github.com/bytecodealliance/regalloc2/issues/7).
9
8
*
10
9
* Since the initial port, the design has been substantially evolved
11
10
* and optimized.
You can’t perform that action at this time.
0 commit comments