LookupWith: retry
This commit is contained in:
@@ -79,7 +79,8 @@ pub enum Op {
|
||||
|
||||
PushWith,
|
||||
PopWith,
|
||||
WithLookup,
|
||||
LookupWith,
|
||||
PrepareWith,
|
||||
|
||||
LoadBuiltins,
|
||||
LoadBuiltin,
|
||||
@@ -625,7 +626,8 @@ impl<'a, Ctx: BytecodeContext> BytecodeEmitter<'a, Ctx> {
|
||||
self.emit_with(namespace, body, thunks);
|
||||
}
|
||||
&Ir::WithLookup(name) => {
|
||||
self.emit_op(Op::WithLookup);
|
||||
self.emit_op(Op::PrepareWith);
|
||||
self.emit_op(Op::LookupWith);
|
||||
self.emit_str_id(name);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user