Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[instantiation linking] Create and import WASMGlobalInstance #3914

Draft
wants to merge 37 commits into
base: dev/instantiate_linking
Choose a base branch
from

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    d1139cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9189eae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    14de319 View commit details
    Browse the repository at this point in the history
  4. Refactor memory instantiation logic

    - ~99% same with memory_instantiation() in wasm_runtime.c
    - new apis to create and destroy memory
    lum1n0us committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    505dbef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e4fd6ee View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    454d576 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    929e4a3 View commit details
    Browse the repository at this point in the history
  8. Add wasm_runtime_get_extern_instance function and refactor memory ins…

    …tantiation logic in wasm_runtime.c
    lum1n0us committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    ac405d3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    365cee9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    878287d View commit details
    Browse the repository at this point in the history
  11. Refactor wasm_runtime_instantiate()

    The main goal is to let existed code run without modification
    lum1n0us committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    27a5959 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b8952b7 View commit details
    Browse the repository at this point in the history
  13. Implement wasm_runtime_instantiate_with_inheritance function and refa…

    …ctor related import handling in thread management
    lum1n0us committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    c128a4b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b71bee8 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    5774e9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    305b490 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    e986e74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b02ef37 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    887a143 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Configuration menu
    Copy the full SHA
    a09dd90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eaf77e4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1be95ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    89327cc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    06f2f6f View commit details
    Browse the repository at this point in the history
  6. Update placeholder comments and adjust string reading for import tabl…

    …es based on package version
    lum1n0us committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    6c85905 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2024

  1. Refactor table element access to use wasm_locate_table_elems for impr…

    …oved clarity and consistency
    lum1n0us committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    7b58edf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d74a8fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ad3541c View commit details
    Browse the repository at this point in the history
  4. Refactor table element retrieval to use temporary variable for improv…

    …ed clarity and consistency; restore aot_compile_get_tbl_inst function
    lum1n0us committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    5e9abda View commit details
    Browse the repository at this point in the history
  5. Fix table element retrieval in wasm_table_set to use pointer arithmet…

    …ic for improved clarity
    lum1n0us committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    e3f3299 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    39c2cf1 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. Enhance table instantiation logic for multi-module support and improv…

    …e element initialization
    lum1n0us committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    a9e7954 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79ce3f6 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2024

  1. [rebase confliction] Refactor: streamline global instance handling an…

    …d improve export retrieval logic
    
    Remove me when meeting rebase conflication
    lum1n0us committed Nov 17, 2024
    Configuration menu
    Copy the full SHA
    28d71b8 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. Configuration menu
    Copy the full SHA
    9c87b5e View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. Configuration menu
    Copy the full SHA
    edf7f05 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    92a6310 View commit details
    Browse the repository at this point in the history