Revert "Add debug info support for inlined and specialized generic variables."

There is an assertion failure building the source compatibility suite that
needs to be investigated.

This reverts commit 91f6f34119.
This commit is contained in:
Adrian Prantl
2018-07-07 13:01:01 -07:00
parent a6952decab
commit fdad9076f2
18 changed files with 69 additions and 281 deletions

View File

@@ -351,7 +351,6 @@ private:
case Node::Kind::GenericSpecialization:
case Node::Kind::GenericSpecializationNotReAbstracted:
case Node::Kind::GenericSpecializationParam:
case Node::Kind::InlinedGenericFunction:
case Node::Kind::GenericTypeMetadataPattern:
case Node::Kind::Getter:
case Node::Kind::Global:
@@ -1182,9 +1181,6 @@ NodePointer NodePrinter::print(NodePointer Node, bool asPrefixContext) {
case Node::Kind::GenericSpecializationNotReAbstracted:
printSpecializationPrefix(Node, "generic not re-abstracted specialization");
return nullptr;
case Node::Kind::InlinedGenericFunction:
printSpecializationPrefix(Node, "inlined generic function");
return nullptr;
case Node::Kind::SpecializationIsFragile:
Printer << "preserving fragile attribute";
return nullptr;