This commit is contained in:
Mark Thom
2018-05-12 01:21:31 -06:00
parent 7455c2e9db
commit 0951bcff58
4 changed files with 13 additions and 8 deletions

View File

@@ -1711,8 +1711,7 @@ impl Add<usize> for CodePtr {
fn add(self, rhs: usize) -> Self::Output {
match self {
CodePtr::Local(local) => CodePtr::Local(local + rhs),
CodePtr::CallN(_, local) | CodePtr::BuiltInClause(_, local) =>
CodePtr::Local(local + rhs),
CodePtr::CallN(_, local) | CodePtr::BuiltInClause(_, local) => CodePtr::Local(local + rhs),
}
}
}