makeCallUseFireInstruction() — react Function Reference
Architecture documentation for the makeCallUseFireInstruction() function in TransformFire.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD af87d057_2d4b_c617_1d9b_77698e1be8af["makeCallUseFireInstruction()"] 6061353e_921a_a1a8_d6c1_777e8d9f8896["TransformFire.ts"] af87d057_2d4b_c617_1d9b_77698e1be8af -->|defined in| 6061353e_921a_a1a8_d6c1_777e8d9f8896 38224692_55f3_a937_63fd_e0266e855650["replaceFireFunctions()"] 38224692_55f3_a937_63fd_e0266e855650 -->|calls| af87d057_2d4b_c617_1d9b_77698e1be8af 49446ae1_b830_9411_8258_1139d21b314b["createTemporaryPlace()"] af87d057_2d4b_c617_1d9b_77698e1be8af -->|calls| 49446ae1_b830_9411_8258_1139d21b314b style af87d057_2d4b_c617_1d9b_77698e1be8af fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/Transform/TransformFire.ts lines 464–486
function makeCallUseFireInstruction(
env: Environment,
useFirePlace: Place,
argPlace: Place,
): Instruction {
const useFireCallResultPlace = createTemporaryPlace(env, GeneratedSource);
useFireCallResultPlace.effect = Effect.Read;
const useFireCall: CallExpression = {
kind: 'CallExpression',
callee: {...useFirePlace},
args: [argPlace],
loc: GeneratedSource,
};
return {
id: makeInstructionId(0),
value: useFireCall,
lvalue: {...useFireCallResultPlace},
loc: GeneratedSource,
effects: null,
};
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does makeCallUseFireInstruction() do?
makeCallUseFireInstruction() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Transform/TransformFire.ts.
Where is makeCallUseFireInstruction() defined?
makeCallUseFireInstruction() is defined in compiler/packages/babel-plugin-react-compiler/src/Transform/TransformFire.ts at line 464.
What does makeCallUseFireInstruction() call?
makeCallUseFireInstruction() calls 1 function(s): createTemporaryPlace.
What calls makeCallUseFireInstruction()?
makeCallUseFireInstruction() 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