mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-05 12:51:28 +00:00
Revert "Don't assert if materializing before seeing any function bodies"
This reverts r251667 since it broke the bots. llvm-svn: 251671
This commit is contained in:
1 parent
e5839f3eae
commit
14323e02e6
3 files changed
+1
-8
No files matched your search
@@ -3054,9 +3054,7 @@ std::error_code BitcodeReader::rememberAndSkipFunctionBodies() {
|
||||
|
||||
if (Stream.AtEndOfStream()) return error("Could not find function in stream");
|
||||
|
||||
if (!SeenFirstFunctionBody)
|
||||
return error("Trying to materialize functions before seeing function blocks");
|
||||
|
||||
assert(SeenFirstFunctionBody);
|
||||
// An old bitcode file with the symbol table at the end would have
|
||||
// finished the parse greedily.
|
||||
assert(SeenValueSymbolTable);
|
||||
|
||||
Reference in new issue
Block a user