Inline breakpoint support in core.

This commit is contained in:
losfair
2019-10-11 21:04:53 +08:00
parent 2e1fb7abca
commit db59127f71
3 changed files with 148 additions and 22 deletions

View File

@ -1,5 +1,6 @@
use std::collections::BTreeMap;
use std::ops::Bound::{Included, Unbounded};
use crate::backend::Backend;
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
pub struct RegisterIndex(pub usize);
@ -111,6 +112,7 @@ pub struct CodeVersion {
pub baseline: bool,
pub msm: ModuleStateMap,
pub base: usize,
pub backend: Backend,
}
impl ModuleStateMap {