Home / Function/ makeLoadFireCalleeInstruction() — react Function Reference

makeLoadFireCalleeInstruction() — react Function Reference

Architecture documentation for the makeLoadFireCalleeInstruction() function in TransformFire.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  9efe5af8_de23_9f01_22ae_74fa1ea707f8["makeLoadFireCalleeInstruction()"]
  6061353e_921a_a1a8_d6c1_777e8d9f8896["TransformFire.ts"]
  9efe5af8_de23_9f01_22ae_74fa1ea707f8 -->|defined in| 6061353e_921a_a1a8_d6c1_777e8d9f8896
  38224692_55f3_a937_63fd_e0266e855650["replaceFireFunctions()"]
  38224692_55f3_a937_63fd_e0266e855650 -->|calls| 9efe5af8_de23_9f01_22ae_74fa1ea707f8
  49446ae1_b830_9411_8258_1139d21b314b["createTemporaryPlace()"]
  9efe5af8_de23_9f01_22ae_74fa1ea707f8 -->|calls| 49446ae1_b830_9411_8258_1139d21b314b
  style 9efe5af8_de23_9f01_22ae_74fa1ea707f8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/Transform/TransformFire.ts lines 439–462

function makeLoadFireCalleeInstruction(
  env: Environment,
  fireCalleeIdentifier: Identifier,
): Instruction {
  const loadedFireCallee = createTemporaryPlace(env, GeneratedSource);
  const fireCallee: Place = {
    kind: 'Identifier',
    identifier: fireCalleeIdentifier,
    reactive: false,
    effect: Effect.Unknown,
    loc: fireCalleeIdentifier.loc,
  };
  return {
    id: makeInstructionId(0),
    value: {
      kind: 'LoadLocal',
      loc: GeneratedSource,
      place: {...fireCallee},
    },
    lvalue: {...loadedFireCallee},
    loc: GeneratedSource,
    effects: null,
  };
}

Domain

Subdomains

Frequently Asked Questions

What does makeLoadFireCalleeInstruction() do?
makeLoadFireCalleeInstruction() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Transform/TransformFire.ts.
Where is makeLoadFireCalleeInstruction() defined?
makeLoadFireCalleeInstruction() is defined in compiler/packages/babel-plugin-react-compiler/src/Transform/TransformFire.ts at line 439.
What does makeLoadFireCalleeInstruction() call?
makeLoadFireCalleeInstruction() calls 1 function(s): createTemporaryPlace.
What calls makeLoadFireCalleeInstruction()?
makeLoadFireCalleeInstruction() is called by 1 function(s): replaceFireFunctions.

Analyze Your Own Codebase

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

Try Supermodel Free