simplify
This commit is contained in:
parent
62334acd66
commit
d02e7f0da8
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> {
|
|||
Ok(Value::ByRef(ptr, aligned))
|
||||
}
|
||||
Lvalue::Local { frame, local } => {
|
||||
Ok(self.stack[frame].get_local(local)?)
|
||||
self.stack[frame].get_local(local)
|
||||
}
|
||||
Lvalue::Global(cid) => {
|
||||
Ok(self.globals.get(&cid).expect("global not cached").value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue