Skip to content
Snippets Groups Projects
Commit 57b27340 authored by Per Lindgren's avatar Per Lindgren
Browse files

modify bug fixed

parent 8c215831
No related branches found
No related tags found
No related merge requests found
...@@ -77,6 +77,7 @@ pub struct RW<T> ...@@ -77,6 +77,7 @@ pub struct RW<T>
where where
T: Copy, T: Copy,
{ {
#[allow(unused)]
register: VolatileCell<T>, register: VolatileCell<T>,
} }
...@@ -125,7 +126,8 @@ where ...@@ -125,7 +126,8 @@ where
where where
F: FnOnce(T) -> T, F: FnOnce(T) -> T,
{ {
f(self.register.read()); f(self.read());
klee::abort();
} }
/// Reads the symbolic value of the register /// Reads the symbolic value of the register
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment