remove b0 slot from AND stack frames.
This commit is contained in:
@@ -6,7 +6,6 @@ use std::vec::Vec;
|
|||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct Frame {
|
pub struct Frame {
|
||||||
pub global_index: usize,
|
pub global_index: usize,
|
||||||
pub b0: usize,
|
|
||||||
pub e: usize,
|
pub e: usize,
|
||||||
pub cp: CodePtr,
|
pub cp: CodePtr,
|
||||||
perms: Vec<Addr>
|
perms: Vec<Addr>
|
||||||
@@ -16,7 +15,6 @@ impl Frame {
|
|||||||
fn new(global_index: usize, fr: usize, e: usize, cp: CodePtr, n: usize) -> Self {
|
fn new(global_index: usize, fr: usize, e: usize, cp: CodePtr, n: usize) -> Self {
|
||||||
Frame {
|
Frame {
|
||||||
global_index,
|
global_index,
|
||||||
b0: 0,
|
|
||||||
e: e,
|
e: e,
|
||||||
cp: cp,
|
cp: cp,
|
||||||
perms: (1 .. n+1).map(|i| Addr::StackCell(fr, i)).collect()
|
perms: (1 .. n+1).map(|i| Addr::StackCell(fr, i)).collect()
|
||||||
|
|||||||
Reference in New Issue
Block a user