Skip to content

Commit

Permalink
fix SWB annotation for union
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeHolman committed Mar 14, 2018
1 parent f2a3526 commit e798479
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/Runtime/Library/JavascriptMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ namespace Js
Field(SimpleVarDataMap*) simpleVarMap;
Field(ComplexVarDataMap*) complexVarMap;
MapUnion() {}
} u;
};

Field(MapUnion) u;

Field(MapKind) kind = MapKind::EmptyMap;

Expand Down
4 changes: 3 additions & 1 deletion lib/Runtime/Library/JavascriptSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ namespace Js
Field(ComplexVarDataSet*) complexVarSet;
Field(BVSparse<Recycler>*) intSet;
SetUnion() {}
} u;
};

Field(SetUnion) u;

Field(SetKind) kind = SetKind::EmptySet;

Expand Down

0 comments on commit e798479

Please sign in to comment.