Package pascal.taie.frontend.cache
Class CachedIRBuilder
java.lang.Object
pascal.taie.frontend.cache.CachedIRBuilder
- All Implemented Interfaces:
Serializable
,IRBuilder
The
IRBuilder
is for keeping the IR
s of all methods to
prevent cyclic references with too long a path which may make
the serialization fail or StackOverflowError
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildAll
(ClassHierarchy hierarchy) Builds IR for all methods in the given hierarchy.This method will be called byJMethod.getIR()
only once, so remove the IR from the map after returning it.
-
Constructor Details
-
CachedIRBuilder
-
-
Method Details
-
buildIR
This method will be called byJMethod.getIR()
only once, so remove the IR from the map after returning it. -
buildAll
Description copied from interface:IRBuilder
Builds IR for all methods in the given hierarchy.
-