MCPcopy Create free account
hub / github.com/csmith-project/csmith / read_var

Method read_var

src/CGContext.cpp:212–225  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

210 *
211 */
212void
213CGContext::read_var(const Variable *v)
214{
215 v = v->get_collective();
216 if (is_nonreadable(v)) {
217 assert(!"attempted read from a nonreadable variable");
218 }
219 if (effect_accum) {
220 effect_accum->read_var(v);
221 }
222 // track effect for single statement
223 effect_stm.read_var(v);
224 sanity_check();
225}
226
227/*
228 *

Callers

nothing calls this directly

Calls 1

get_collectiveMethod · 0.45

Tested by

no test coverage detected