Skip to content

Commit dd601ea

Browse files
ssrliveCopilot
andcommitted
Fix cross-realm instanceof and typed array define
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0fd7ece commit dd601ea

File tree

6 files changed

+105
-165
lines changed

6 files changed

+105
-165
lines changed

src/core/function_id.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,17 +373,13 @@ pub(crate) const BUILTIN_ARRAY_WITH: FunctionID = 553;
373373
// ── Map upsert (560–561) ────────────────────────────────────────────
374374
pub(crate) const BUILTIN_MAP_GETORINSERT: FunctionID = 560;
375375
pub(crate) const BUILTIN_MAP_GETORINSERTCOMPUTED: FunctionID = 561;
376-
// ── ArrayBuffer detached / transfer (570–572) ───────────────────────
377-
pub(crate) const BUILTIN_ARRAYBUFFER_DETACHED_GET: FunctionID = 570;
378-
pub(crate) const BUILTIN_ARRAYBUFFER_TRANSFER: FunctionID = 571;
379-
pub(crate) const BUILTIN_ARRAYBUFFER_TRANSFER_TO_FIXED: FunctionID = 572;
376+
// ── ArrayBuffer detached / transfer (570–572) reserved ──────────────
380377
// ── WeakMap upsert (580–581) ─────────────────────────────────────────
381378
pub(crate) const BUILTIN_WEAKMAP_GETORINSERT: FunctionID = 580;
382379
pub(crate) const BUILTIN_WEAKMAP_GETORINSERTCOMPUTED: FunctionID = 581;
383380
// ── TypedArray change-array-by-copy (590–593) ───────────────────────
384381
pub(crate) const BUILTIN_TYPEDARRAY_TOREVERSED: FunctionID = 590;
385382
pub(crate) const BUILTIN_TYPEDARRAY_TOSORTED: FunctionID = 591;
386-
pub(crate) const BUILTIN_TYPEDARRAY_TOSPLICED: FunctionID = 592;
387383
pub(crate) const BUILTIN_TYPEDARRAY_WITH: FunctionID = 593;
388384
// ── Float16Array + Math.f16round (610-611) ──────────────────────────
389385
pub(crate) const BUILTIN_CTOR_FLOAT16ARRAY: FunctionID = 610;

0 commit comments

Comments
 (0)