mirror of
https://github.com/urbit/ares.git
synced 2024-12-23 13:25:03 +03:00
Merge branch 'urcrypt' into puck
This commit is contained in:
commit
de4224b2a2
@ -418,26 +418,6 @@ pub fn interpret(context: &mut Context, mut subject: Noun, formula: Noun) -> Res
|
||||
push_formula(&mut context.stack, vale.formula, false)?;
|
||||
}
|
||||
Todo2::ComputeResult => {
|
||||
if !cfg!(feature = "sham_hints") {
|
||||
if let Some((jet, _path)) = context.warm.find_jet(
|
||||
&mut context.stack,
|
||||
&mut vale.subject,
|
||||
&mut res,
|
||||
) {
|
||||
match jet(context, vale.subject) {
|
||||
Ok(jet_res) => {
|
||||
res = jet_res;
|
||||
context.stack.pop::<NockWork>();
|
||||
continue;
|
||||
}
|
||||
Err(JetErr::Punt) => {}
|
||||
Err(err) => {
|
||||
break Err(err.into());
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
let stack = &mut context.stack;
|
||||
if vale.tail {
|
||||
stack.pop::<NockWork>();
|
||||
|
@ -270,6 +270,7 @@ pub fn serf() -> io::Result<()> {
|
||||
// XX: Such data should go in the PMA once that's available
|
||||
unsafe {
|
||||
let stack = &mut context.nock_context.stack;
|
||||
stack.preserve(&mut context.arvo);
|
||||
stack.preserve(&mut context.nock_context.cold);
|
||||
stack.preserve(&mut context.nock_context.warm);
|
||||
stack.frame_pop();
|
||||
|
Loading…
Reference in New Issue
Block a user