diff options
| author | Rui Ueyama <ruiu@google.com> | 2015-01-15 08:46:36 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2015-01-15 08:46:36 +0000 |
| commit | 883afba228f67bf156f299a137f74eb00f71010f (patch) | |
| tree | a3605d91c4169ec91abe529507d079a6b77d03fc /lld/unittests | |
| parent | f8637360e2ea0e1c697bcfc24dafa8f12d31171c (diff) | |
| download | bcm5719-llvm-883afba228f67bf156f299a137f74eb00f71010f.tar.gz bcm5719-llvm-883afba228f67bf156f299a137f74eb00f71010f.zip | |
Remove InputGraph and use std::vector<Node> instead.
In total we have removed more than 1000 lines!
llvm-svn: 226149
Diffstat (limited to 'lld/unittests')
| -rw-r--r-- | lld/unittests/DriverTests/DriverTest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/unittests/DriverTests/DriverTest.h b/lld/unittests/DriverTests/DriverTest.h index c854e382aed..185d470a719 100644 --- a/lld/unittests/DriverTests/DriverTest.h +++ b/lld/unittests/DriverTests/DriverTest.h @@ -27,12 +27,12 @@ protected: // Convenience method for getting number of input files. int inputFileCount() { - return linkingContext()->getInputGraph().members().size(); + return linkingContext()->getNodes().size(); } // Convenience method for getting i'th input files name. std::string inputFile(int index) { - Node &node = *linkingContext()->getInputGraph().members()[index]; + Node &node = *linkingContext()->getNodes()[index]; if (node.kind() == Node::Kind::File) return cast<FileNode>(&node)->getFile()->path(); llvm_unreachable("not handling other types of input files"); |

