Skip to content

Conversation

@targos
Copy link
Member

@targos targos commented Dec 13, 2025

Backport of #60603

Changed v8::Maybe<bool>::IsEmpty calls to IsNothing (they are aliases in newer V8).

luyahan and others added 4 commits December 10, 2025 17:18
Original commit message:

    Reland "[riscv] Fix Check failed in bind_to"

    This is a reland of commit fdb5de2c741658e94944f2ec1218530e98601c23

    Original change's description:
    > [riscv] Fix Check failed in bind_to
    >
    > The trampoline should be emitted before the constant pool.
    >
    > Bug: 420232092
    >
    > Change-Id: I3a909b122607e37aca9d8765f28810ec74d5dc0b
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6578135
    > Auto-Submit: Yahan Lu (LuYahan) <[email protected]>
    > Reviewed-by: Ji Qiu <[email protected]>
    > Commit-Queue: Ji Qiu <[email protected]>
    > Cr-Commit-Position: refs/heads/main@{#100480}

    Bug: 420232092
    Change-Id: I1fac1ed8c349383ef4510abea338b3d695ed57ab
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6595668
    Commit-Queue: Ji Qiu <[email protected]>
    Reviewed-by: Ji Qiu <[email protected]>
    Cr-Commit-Position: refs/heads/main@{#100745}

Refs: v8/v8@bbaae8e
Co-authored-by: kxxt <[email protected]>
PR-URL: nodejs#60962
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Stewart X Addison <[email protected]>
Original commit message:

    [riscv] Check trampoline before Constant pool in Release mode

    Change-Id: I9645cded9328dabb2c11c7859b998c838b95f97b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6653368
    Commit-Queue: Ji Qiu <[email protected]>
    Reviewed-by: Ji Qiu <[email protected]>
    Cr-Commit-Position: refs/heads/main@{#100935}

Refs: v8/v8@394a805
PR-URL: nodejs#60962
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Stewart X Addison <[email protected]>
Original commit message:

    [riscv] Fix the RISC-V build.

    Due to recent changes, there were missing implementations of various
    methods needed in the simulator and Maglev. Additionally, a static_cast
    is needed in the assembler to silence a warning.

    Port commit dfc894cd22d86ce42830e3bfdf485d963f6396ad
    Port commit c33af9bd408eadd6b62571f862bcb5b763c98ad9

    Change-Id: Ie37a1cfa8225fc12f367ff62139cc7cd8fa967d0
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6396542
    Reviewed-by: Victor Gomes <[email protected]>
    Commit-Queue: Yahan Lu (LuYahan) <[email protected]>
    Reviewed-by: Ji Qiu <[email protected]>
    Reviewed-by: Yahan Lu (LuYahan) <[email protected]>
    Cr-Commit-Position: refs/heads/main@{#99706}

Refs: v8/v8@1441665
PR-URL: nodejs#60989
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Beth Griggs <[email protected]>
When the source text module is compiled without custom callbacks,
instead of calling into JS land from the per-isolate import.meta
initializer and then back to C++ land to set up lazy data
properties, just do the initialization all in C++ land.
Only import.meta.resolve initialization will call back
into JS land to generate a closure that call the cascaded loader
for resolution.

In addition, simplify the loader structure by merging
allowImportMetaResolve into isForAsyncLoaderHookWorker - the two
are essentially equivalent, as import.meta.resolve is only
allowed in a non-loader-hook worker thread's loader.

PR-URL: nodejs#60603
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Geoffrey Booth <[email protected]>
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/loaders
  • @nodejs/vm

@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. v24.x Issues that can be reproduced on v24.x or PRs targeting the v24.x-staging branch. labels Dec 13, 2025
@aduh95 aduh95 changed the title [v24.x] src: move import.meta initializer to native land [v24.x backport] src: move import.meta initializer to native land Dec 13, 2025
@avivkeller avivkeller added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 1, 2026
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 1, 2026
@nodejs-github-bot
Copy link
Collaborator

@avivkeller avivkeller added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. v24.x Issues that can be reproduced on v24.x or PRs targeting the v24.x-staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants