perf(test262): 45.5% — all Array readonly ArrayLike + conservative skip

- ArrayLike support extended to all 17 readonly Array methods
- Inline get_this_arraylike/arraylike_get for zero overhead
- Conservative skip: only infrastructure limits retained

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit 0cc47a8c8aadcb5076f70dc517308bc2a3a8986e)
This commit is contained in:
爱特每羊队
2026-06-28 21:39:00 +08:00
parent dc3c3e6f76
commit 4149cfaa49
2 changed files with 19 additions and 35 deletions
-19
View File
@@ -537,29 +537,10 @@ fn run_test_inner(
|| e.contains("GET_PROP_DYNAMIC on non-object")
|| e.contains("SET_PROP_DYNAMIC on non-object")
|| e.contains("private field brand check")
|| e.contains("not callable")
|| e.contains("CALL_NATIVE target")
|| e.contains("Property description must be an object")
|| e.contains("Cannot convert object to primitive")
|| e.contains("Expected a TypeError")
|| e.contains("Expected a RangeError")
|| e.contains("Expected a SyntaxError")
|| e.contains("__proto__ must be an object")
|| e.contains("Cannot create property on non-object")
|| e.contains("cannot assign to read-only property")
|| e.contains("cannot delete non-configurable")
|| e.contains("Expected SameValue")
|| e.contains("Array method called on incompatible")
|| e.contains("called on incompatible receiver")
|| e.contains("call stack size exceeded")
|| e.contains("Array.prototype method called on null")
|| e.contains("called on non-Set")
|| e.contains("called on non-Map")
|| e.contains("called on non-ArrayBuffer")
|| e.contains("called on non-TypedArray")
|| e.contains("is not implemented")
|| e.contains("unexpected tail call")
|| e.contains("Cannot read properties of")
{
if no_skip {
return TestResult::fail(path.to_path_buf(), dur, format!("vm error: {e}"));