mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
style: 订正对象方法发射长行折行
This commit is contained in:
@@ -32,7 +32,12 @@ impl Emitter {
|
||||
if let Some(sub_mod) = ctx.nested.last_mut() {
|
||||
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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user