diff options
author | Fangrui Song <maskray@google.com> | 2019-05-30 10:05:52 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-05-30 10:05:52 +0000 |
commit | 3a34bccd206483c04e24e5ae91a3848b749dd72b (patch) | |
tree | 264907626eb79af8a895e233d3a18ba592c0dea9 /clang/lib | |
parent | 0526c0cd8e73317ddef71b81b78631b16f4e9cd0 (diff) | |
download | bcm5719-llvm-3a34bccd206483c04e24e5ae91a3848b749dd72b.tar.gz bcm5719-llvm-3a34bccd206483c04e24e5ae91a3848b749dd72b.zip |
Revert "asm goto: fix out-of-bounds read of Constraints after rC362045"
It was fixed by rC362062.
llvm-svn: 362079
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Parse/ParseStmtAsm.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseStmtAsm.cpp b/clang/lib/Parse/ParseStmtAsm.cpp index e1c48da5f2b..75f3ac396e1 100644 --- a/clang/lib/Parse/ParseStmtAsm.cpp +++ b/clang/lib/Parse/ParseStmtAsm.cpp @@ -846,7 +846,6 @@ StmtResult Parser::ParseAsmStatement(bool &msAsm) { ExprResult Res = Actions.ActOnAddrLabel(Tok.getLocation(), Tok.getLocation(), LD); Exprs.push_back(Res.get()); - Constraints.emplace_back(); NumLabels++; ConsumeToken(); if (!TryConsumeToken(tok::comma)) |