MCPcopy Create free account
hub / github.com/VKCOM/kphp / on_if_user_recursion

Method on_if_user_recursion

compiler/pipes/transform-to-smart-instanceof.cpp:27–49  ·  view source on GitHub ↗

1) handle `if ($x instanceof A)`, replace $x with a temp var inside its body 2) handle `if (!($x instanceof A)) return`, replace $x with a temp var till the end of function

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

run_function_passFunction · 0.85
cloneMethod · 0.45
popMethod · 0.45
get_stringMethod · 0.45

Tested by

no test coverage detected