diff options
author | 2022-01-10 09:31:57 +0000 | |
---|---|---|
committer | 2022-01-10 15:18:43 +0000 | |
commit | 22df3e0b8674d32d493fb499cae750f57b2fa5d2 (patch) | |
tree | e78aa8031c77ad8a381ab8285b570d5ceb4d94d9 /compiler/optimizing/optimizing_unit_test.h | |
parent | 7156ea283a43a64fed3b38004ee38c86cfcf7817 (diff) |
Remove operator<< from HGraph.
It needs access to a code generator.
Test: observe a bogus graph at the point of register allocator, and see
that the Dump method crashes.
Change-Id: I09a847246428fd3bd0938f9f457773c465da253d
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
-rw-r--r-- | compiler/optimizing/optimizing_unit_test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/optimizing_unit_test.h b/compiler/optimizing/optimizing_unit_test.h index 6600ff319a..e83688039a 100644 --- a/compiler/optimizing/optimizing_unit_test.h +++ b/compiler/optimizing/optimizing_unit_test.h @@ -203,7 +203,7 @@ class AdjacencyListGraph { const AdjacencyListGraph& alg_; }; Namer namer(*this); - return graph_->Dump(os, namer); + return graph_->Dump(os, /* codegen_= */ nullptr, namer); } private: |