GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove unnecessary null pointer checks · Issue #9135 · WebAssembly/binaryen

Remove unnecessary null pointer checks #9135

New issue
Copy link
New issue
Copy link
Open
Open
Remove unnecessary null pointer checks#9135
Copy link

Description

@elfring
elfring
opened on Sep 22, 2026
Issue body actions

An extra null pointer check is not needed in functions like the following.

  • binaryen/src/support/mixed_arena.h

    Lines 116 to 118 in 336baa3

    if (allocated) {
    delete allocated;
    }
  • binaryen/src/support/mixed_arena.h

    Lines 160 to 162 in 336baa3

    if (next.load()) {
    delete next.load();
    }

Activity

  1. kripken commented on Sep 22, 2026

    @kripken
    kripken
    on Sep 22, 2026
    Member
    More actions

    Thanks, a PR would be welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.