Skip to content

Commit e798479

Browse files
committed
fix SWB annotation for union
1 parent f2a3526 commit e798479

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/Runtime/Library/JavascriptMap.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ namespace Js
3737
Field(SimpleVarDataMap*) simpleVarMap;
3838
Field(ComplexVarDataMap*) complexVarMap;
3939
MapUnion() {}
40-
} u;
40+
};
41+
42+
Field(MapUnion) u;
4143

4244
Field(MapKind) kind = MapKind::EmptyMap;
4345

lib/Runtime/Library/JavascriptSet.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ namespace Js
4545
Field(ComplexVarDataSet*) complexVarSet;
4646
Field(BVSparse<Recycler>*) intSet;
4747
SetUnion() {}
48-
} u;
48+
};
49+
50+
Field(SetUnion) u;
4951

5052
Field(SetKind) kind = SetKind::EmptySet;
5153

0 commit comments

Comments
 (0)