We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83746bd commit d734c9bCopy full SHA for d734c9b
src/frame_allocator.rs
@@ -97,7 +97,6 @@ impl<'a> FrameAllocator<'a> {
97
// Case: (r = `r`, R = `region`)
98
// ----rrrrrrrrrrr----
99
// ------RRRR---------
100
- r.len = region.start_addr() - r.start_addr();
101
assert!(
102
split_region.is_none(),
103
"area overlaps with multiple regions"
@@ -107,6 +106,7 @@ impl<'a> FrameAllocator<'a> {
107
106
len: r.end_addr() - region.end_addr(),
108
region_type: r.region_type,
109
});
+ r.len = region.start_addr() - r.start_addr();
110
} else if region.start_addr() <= r.start_addr() {
111
112
0 commit comments