Home / File/ ssa-sibling-phis.js — react Source File

ssa-sibling-phis.js — react Source File

Architecture documentation for ssa-sibling-phis.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

function foo(a, b, c, d) {
  let x = 0;
  if (true) {
    if (true) {
      x = a;
    } else {
      x = b;
    }
    x;
  } else {
    if (true) {
      x = c;
    } else {
      x = d;
    }
    x;
  }
  // note: intentionally no phi here so that there are two distinct phis above
}

export const FIXTURE_ENTRYPOINT = {
  fn: foo,
  params: ['TodoAdd'],
  isComponent: 'TodoAdd',
};

Subdomains

Functions

Frequently Asked Questions

What does ssa-sibling-phis.js do?
ssa-sibling-phis.js is a source file in the react codebase, written in javascript. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in ssa-sibling-phis.js?
ssa-sibling-phis.js defines 1 function(s): foo.
Where is ssa-sibling-phis.js in the architecture?
ssa-sibling-phis.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/ssa-sibling-phis.js (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free