diff options
Diffstat (limited to 'src/System.Private.Jit/src/Internal/Runtime/JitSupport/JitMethodCodeNode.cs')
-rw-r--r-- | src/System.Private.Jit/src/Internal/Runtime/JitSupport/JitMethodCodeNode.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/System.Private.Jit/src/Internal/Runtime/JitSupport/JitMethodCodeNode.cs b/src/System.Private.Jit/src/Internal/Runtime/JitSupport/JitMethodCodeNode.cs index 4e66d5d38..b605c485b 100644 --- a/src/System.Private.Jit/src/Internal/Runtime/JitSupport/JitMethodCodeNode.cs +++ b/src/System.Private.Jit/src/Internal/Runtime/JitSupport/JitMethodCodeNode.cs @@ -28,6 +28,7 @@ namespace Internal.Runtime.JitSupport private ObjectData _ehInfo; private DebugLocInfo[] _debugLocInfos; private DebugVarInfo[] _debugVarInfos; + private DebugEHClauseInfo[] _debugEHClauseInfos; public void SetCode(ObjectData data) { @@ -60,6 +61,7 @@ namespace Internal.Runtime.JitSupport } public DebugLocInfo[] DebugLocInfos => _debugLocInfos; public DebugVarInfo[] DebugVarInfos => _debugVarInfos; + public DebugEHClauseInfo[] DebugEHClauseInfos => _debugEHClauseInfos; public void InitializeDebugLocInfos(DebugLocInfo[] debugLocInfos) { @@ -73,6 +75,12 @@ namespace Internal.Runtime.JitSupport _debugVarInfos = debugVarInfos; } + public void InitializeDebugEHClauseInfos(DebugEHClauseInfo[] debugEHClauseInfos) + { + Debug.Assert(_debugEHClauseInfos == null); + _debugEHClauseInfos = debugEHClauseInfos; + } + protected override string GetName(NodeFactory factory) { throw new PlatformNotSupportedException(); |