compiler: rename `variables` to `retainedNodes`

Part of the changes that was made to LLVM 6 by the time that LLVM 7 was released.
LLVM commit: 2c864551df
LLVM differential review: https://reviews.llvm.org/D45024
This commit is contained in:
occheung 2022-01-10 11:28:32 +08:00
parent 6f3c49528d
commit 5e1847e7c1
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class DebugInfoEmitter:
"scopeLine": func.loc.line(),
"isLocal": func.is_internal,
"isDefinition": True,
"variables": self.emit_metadata([])
"retainedNodes": self.emit_metadata([])
}, is_distinct=True)
@memoize