IsPure returns false because loads read from memory and two equal loads may yield different values.
()
| 27 | // IsPure returns true because loads have no side effects. |
| 28 | // Dead loads can be removed and two equal loads only deduplicate if |
| 29 | // nothing between them modifies the memory. |
| 30 | func (l *Load) IsPure() bool { |
| 31 | return true |
| 32 | } |
| 33 | |
| 34 | // Inputs returns the memory address of the load. |
nothing calls this directly
no outgoing calls
no test coverage detected