diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-02-23 17:13:47 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-02-23 17:13:47 +0000 |
commit | cc43f581b4d23af28cab702e51e50a576ad7f4c1 (patch) | |
tree | 095e712ef7b2b4e7fc5e60faf3ce903570d7a923 /llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp | |
parent | 223538f76481821d5bf99bf69e73727226233167 (diff) | |
download | llvm-cc43f581b4d23af28cab702e51e50a576ad7f4c1.zip llvm-cc43f581b4d23af28cab702e51e50a576ad7f4c1.tar.gz llvm-cc43f581b4d23af28cab702e51e50a576ad7f4c1.tar.bz2 |
Remove an unnecessary workaround introduced in r259975. (NFC)
Now that LLVM r259973 allows replacing a temporary type with another
temporary we can rely on the original implementation.
It is possible for enums to be created as part of
their own declcontext. In this case a FwdDecl will be created
twice. This doesn't cause a problem because both FwdDecls are
entered into the ReplaceMap: finalize() will replace the first
FwdDecl with the second and then replace the second with
complete type.
Thanks to echristo for pointing this out.
llvm-svn: 261657
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp')
0 files changed, 0 insertions, 0 deletions