mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
perf: 删除 IC 命中热路径无条件 eprintln 调试残留
This commit is contained in:
@@ -86,10 +86,6 @@ pub(crate) fn ic_get_hit(obj: &JsObject, shape_id: u32, slot_index: u32, proto_d
|
||||
if proto_depth == 0 {
|
||||
if obj.shape_id() == shape_id && slot_index < obj.prop_vec_len() as u32 {
|
||||
let v = obj.get_prop_shape(slot_index);
|
||||
eprintln!(
|
||||
"[DBG] ic_get_hit shape={} slot={} apc={} v={:?}",
|
||||
shape_id, slot_index, obj.array_prop_count, v
|
||||
);
|
||||
return Some(v);
|
||||
}
|
||||
return None;
|
||||
|
||||
Reference in New Issue
Block a user