Skip to content

Commit 5e24337

Browse files
committed
fixup! stack-switching: define VMContObj as two words
prtest:full
1 parent e258e35 commit 5e24337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/environ/src/vmoffsets.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ pub trait PtrSize {
390390

391391
/// Return the offset of `VMContRef::stack`.
392392
fn vmcontref_stack(&self) -> u8 {
393-
self.vmcontref_revision() + 8
393+
self.vmcontref_revision() + self.size()
394394
}
395395

396396
/// Return the offset of `VMContRef::args`.

0 commit comments

Comments
 (0)