mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 11:11:11 +08:00
style: 订正对象方法发射长行折行
This commit is contained in:
@@ -32,7 +32,12 @@ impl Emitter {
|
|||||||
if let Some(sub_mod) = ctx.nested.last_mut() {
|
if let Some(sub_mod) = ctx.nested.last_mut() {
|
||||||
sub_mod.needs_home_object = true;
|
sub_mod.needs_home_object = true;
|
||||||
}
|
}
|
||||||
ctx.inst(Inst::new(OpCode::SET_HOME_OBJECT, Operand::Reg(val_reg), Operand::Reg(obj_reg), Operand::None));
|
ctx.inst(Inst::new(
|
||||||
|
OpCode::SET_HOME_OBJECT,
|
||||||
|
Operand::Reg(val_reg),
|
||||||
|
Operand::Reg(obj_reg),
|
||||||
|
Operand::None,
|
||||||
|
));
|
||||||
}
|
}
|
||||||
Ok(val_reg)
|
Ok(val_reg)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user