avoid thunking trivial values

This commit is contained in:
2026-05-02 14:57:52 +08:00
parent 5dd160cc43
commit f39fc5fc49
7 changed files with 208 additions and 113 deletions
+4
View File
@@ -112,6 +112,10 @@ impl<'a> BytecodeReader<'a> {
let idx = self.read_u32();
OperandData::Local { layer, idx }
}
OperandType::BuiltinConst => {
let id = self.read_string_id();
OperandData::BuiltinConst(id)
}
OperandType::Builtins => OperandData::Builtins,
OperandType::ReplBinding => {
let id = self.read_string_id();