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

Assert cc cme nonull #5122

Merged
merged 6 commits into from
Nov 17, 2021
Merged

Assert cc cme nonull #5122

merged 6 commits into from
Nov 17, 2021

Commits on Nov 17, 2021

  1. a variable is not needed.

    ko1 committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    47b216a View commit details
    Browse the repository at this point in the history
  2. assert cc->call_ != NULL

    ko1 committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    450ed13 View commit details
    Browse the repository at this point in the history
  3. vm_empty_cc_for_super

    Same as `vm_empty_cc`, introduce a global variable which has
    `.call_ = vm_call_super_method`. Use it if the `cme == NULL` on
    `vm_search_super_method`.
    ko1 committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    fcecb91 View commit details
    Browse the repository at this point in the history
  4. assert cc->cme_ != NULL

    when `vm_cc_markable(cc)`.
    ko1 committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    44f88e7 View commit details
    Browse the repository at this point in the history
  5. add VM_CALLCACHE_ON_STACK

    check if iseq refers to on stack CC (it shouldn't).
    ko1 committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    13bd711 View commit details
    Browse the repository at this point in the history
  6. no need to check cme == NULL

    Now `cc->cme_` is not NULL.
    ko1 committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    92796a5 View commit details
    Browse the repository at this point in the history