diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-10-10 11:55:52 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-10-10 11:57:33 +0200 |
| commit | a4efa8c091bb41968c2a2e198fa239625ed8a24e (patch) | |
| tree | 902e952ce0abf2eb06d757f9587497e14ef29a56 /executor/syscalls.h | |
| parent | d52eff2843084b3aeada4e46029519cf17067385 (diff) | |
pkg/compiler: fix infinite recursion in template instantiation
Currently we replace a template argument and then recurse
into the new type AST to see if there is more to replace.
If the description is buggy and the template argument
contains itself, then we will recurse infintiely trying
to replace it more and more.
Use post-order traversal when replacing template argument to fix this.
Diffstat (limited to 'executor/syscalls.h')
0 files changed, 0 insertions, 0 deletions
