diff options
| author | Yong He <yonghe@outlook.com> | 2018-03-16 14:28:04 -0400 |
|---|---|---|
| committer | Tim Foley <tfoleyNV@users.noreply.github.com> | 2018-03-16 11:28:04 -0700 |
| commit | a549362ba7011562f123b52c35c875c2c02f4f40 (patch) | |
| tree | 45fa1fa81e88652d9ea7f8d55d791dd810d01d96 /docs/api-users-guide.md | |
| parent | 4c23ba2af6dfb244bbf193f2e540e5e70e13f629 (diff) | |
Small bug fixes. (#445)
This commit contains two small bug fixes:
1. In `specializeProgramLayout`, we cannot assume the resourceInfo entries in a varLayout and its corresponding type layout has the same order. Should use `FindResourceLayout`.
2. When generating ir for a switch statement, make sure to remove the breakLabel from the shared context when done. For some reason if a switch statement is being lowered twice, the Dictionary::Add method will complain the statement key already exists.
Diffstat (limited to 'docs/api-users-guide.md')
0 files changed, 0 insertions, 0 deletions
