Cleanup constants and comments.

This commit is contained in:
losfair
2019-07-04 01:42:11 +08:00
parent 5c5ecfff7d
commit 7f28a4dbef
2 changed files with 3 additions and 4 deletions

View File

@ -104,7 +104,6 @@ impl ModuleStateMap {
if ip < base || ip - base >= self.total_size {
None
} else {
//println!("lookup ip: {} in {:?}", ip - base, self.local_functions);
let (_, fsm) = self
.local_functions
.range((Unbounded, Included(&(ip - base))))
@ -126,7 +125,6 @@ impl ModuleStateMap {
if ip < base || ip - base >= self.total_size {
None
} else {
//println!("lookup ip: {} in {:?}", ip - base, self.local_functions);
let (_, fsm) = self
.local_functions
.range((Unbounded, Included(&(ip - base))))
@ -144,7 +142,6 @@ impl ModuleStateMap {
if ip < base || ip - base >= self.total_size {
None
} else {
//println!("lookup ip: {} in {:?}", ip - base, self.local_functions);
let (_, fsm) = self
.local_functions
.range((Unbounded, Included(&(ip - base))))