Skip to content

Commit

Permalink
[BitstreamParser] Fix parsing end block directive in block info block (
Browse files Browse the repository at this point in the history
  • Loading branch information
owenv authored Jul 29, 2020
1 parent 9990815 commit 37a2095
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/SIL/BitcodeParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ class BitcodeParser {
let abbrev = try stream.next(bits: abbrLen)
switch (abbrev) {
case endBlock:
stream.align(toMultipleOf: 32)
return
case unabbrevRecord:
let record = try parseUnabbrevRecord()
Expand Down

0 comments on commit 37a2095

Please sign in to comment.