Home / Function/ fixIncompletePhis() — react Function Reference

fixIncompletePhis() — react Function Reference

Architecture documentation for the fixIncompletePhis() function in EnterSSA.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  6504c0db_f212_8c3b_f87a_9a785dbe810d["fixIncompletePhis()"]
  f11adc00_6af6_2575_4ee8_974e26f2a6ed["SSABuilder"]
  6504c0db_f212_8c3b_f87a_9a785dbe810d -->|defined in| f11adc00_6af6_2575_4ee8_974e26f2a6ed
  8ec30eb2_4622_378f_f538_3070f7a38fae["enterSSAImpl()"]
  8ec30eb2_4622_378f_f538_3070f7a38fae -->|calls| 6504c0db_f212_8c3b_f87a_9a785dbe810d
  239be53b_dfd4_96c6_9550_ca5aa6b80da2["addPhi()"]
  6504c0db_f212_8c3b_f87a_9a785dbe810d -->|calls| 239be53b_dfd4_96c6_9550_ca5aa6b80da2
  style 6504c0db_f212_8c3b_f87a_9a785dbe810d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/SSA/EnterSSA.ts lines 203–208

  fixIncompletePhis(block: BasicBlock): void {
    const state = this.#states.get(block)!;
    for (const phi of state.incompletePhis) {
      this.addPhi(block, phi.oldPlace, phi.newPlace);
    }
  }

Subdomains

Calls

Called By

Frequently Asked Questions

What does fixIncompletePhis() do?
fixIncompletePhis() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/SSA/EnterSSA.ts.
Where is fixIncompletePhis() defined?
fixIncompletePhis() is defined in compiler/packages/babel-plugin-react-compiler/src/SSA/EnterSSA.ts at line 203.
What does fixIncompletePhis() call?
fixIncompletePhis() calls 1 function(s): addPhi.
What calls fixIncompletePhis()?
fixIncompletePhis() is called by 1 function(s): enterSSAImpl.

Analyze Your Own Codebase

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

Try Supermodel Free