summaryrefslogtreecommitdiff
path: root/rust/src/architecture/register.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/architecture/register.rs')
-rw-r--r--rust/src/architecture/register.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/architecture/register.rs b/rust/src/architecture/register.rs
index 1f17c785..0f760844 100644
--- a/rust/src/architecture/register.rs
+++ b/rust/src/architecture/register.rs
@@ -6,7 +6,7 @@ use std::ffi::CStr;
use std::fmt::{Debug, Formatter};
use std::hash::Hash;
-crate::new_id_type!(RegisterId, u32);
+new_id_type!(RegisterId, u32);
impl RegisterId {
pub fn is_temporary(&self) -> bool {
@@ -14,7 +14,7 @@ impl RegisterId {
}
}
-crate::new_id_type!(RegisterStackId, u32);
+new_id_type!(RegisterStackId, u32);
#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
pub enum ImplicitRegisterExtend {