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

Polymorphic host functions based on dynamic trampoline generation. #1217

Merged
merged 29 commits into from
Mar 3, 2020

Commits on Feb 14, 2020

  1. Global trampoline buffer.

    losfair committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    2fe6e6f View commit details
    Browse the repository at this point in the history
  2. Func::new_polymorphic

    losfair committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    12373bb View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2020

  1. Configuration menu
    Copy the full SHA
    5f4561e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b0f7ee View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2020

  1. Configuration menu
    Copy the full SHA
    ad20a00 View commit details
    Browse the repository at this point in the history
  2. feat(runtime-core) Allow dynamic signature for polymorphic host funct…

    …ions.
    
    This patch adds a new field in `Func`: `signature`. It contains the
    signature of the host function.
    
    For non-polymorphic host functions, the signature is computed from the
    `Args` and `Rets` implementation parameters at compile-time.
    
    For polymorphic host functions though, to be fully dynamic, the
    signature given to `new_polymorphic` is used in `Func` as the correct
    signature.
    Hywan committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    2ee1e80 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2020

  1. Merge pull request #1225 from Hywan/feature/polymorphic-v2.1

    feat(runtime-core) Allow dynamic signature for polymorphic host functions
    losfair authored Feb 24, 2020
    Configuration menu
    Copy the full SHA
    644755f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2020901 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b67acbc View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2020

  1. Configuration menu
    Copy the full SHA
    b7c9c18 View commit details
    Browse the repository at this point in the history
  2. Auto-release trampolines.

    losfair committed Feb 25, 2020
    Configuration menu
    Copy the full SHA
    80f824e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    40d823e View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2020

  1. Configuration menu
    Copy the full SHA
    96d9e39 View commit details
    Browse the repository at this point in the history
  2. Remove pub(self).

    losfair committed Feb 26, 2020
    Configuration menu
    Copy the full SHA
    a0ea1af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    262d431 View commit details
    Browse the repository at this point in the history
  4. Update lib/runtime-core/src/typed_func.rs

    Co-Authored-By: Ivan Enderlin <ivan.enderlin@wanadoo.fr>
    losfair and Hywan authored Feb 26, 2020
    Configuration menu
    Copy the full SHA
    292e42a View commit details
    Browse the repository at this point in the history
  5. fold() -> sum()

    Co-Authored-By: Ivan Enderlin <ivan.enderlin@wanadoo.fr>
    losfair and Hywan authored Feb 26, 2020
    Configuration menu
    Copy the full SHA
    a438a64 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b0877b2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eb89720 View commit details
    Browse the repository at this point in the history
  8. Update changelog.

    losfair committed Feb 26, 2020
    Configuration menu
    Copy the full SHA
    72e6a85 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2020

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

Commits on Feb 28, 2020

  1. Configuration menu
    Copy the full SHA
    31a72e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6516243 View commit details
    Browse the repository at this point in the history
  3. Disallow "fat" closures.

    losfair committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    2ddf9ad View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2020

  1. Fix changelog.

    losfair committed Feb 29, 2020
    Configuration menu
    Copy the full SHA
    84179db View commit details
    Browse the repository at this point in the history
  2. Fix CodeMemory doc comments.

    losfair committed Feb 29, 2020
    Configuration menu
    Copy the full SHA
    4012645 View commit details
    Browse the repository at this point in the history
  3. Remove outdated comment.

    losfair committed Feb 29, 2020
    Configuration menu
    Copy the full SHA
    d443ad8 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2020

  1. Resolve review comments.

    losfair committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    d9e744d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f499dea View commit details
    Browse the repository at this point in the history