diff options
author | 2017-03-02 13:45:45 +0000 | |
---|---|---|
committer | 2017-03-08 10:55:17 +0000 | |
commit | c52f3034b06c03632e937aff07d46c2bdcadfef5 (patch) | |
tree | 031e4d1b2ca0961014e57e4987d80d7aa2c435b0 /compiler/oat_writer.cc | |
parent | ef81e988d0eb4db390e576aac346701b2d820916 (diff) |
Remove --include-patch-information option from dex2oat.
Because we no longer support running patchoat on npic oat files, which
means the included patch information is unused .
Bug: 33192586
Test: m test-art-host
Change-Id: I9e100c4e47dc24d91cd74226c84025e961d30f67
Diffstat (limited to 'compiler/oat_writer.cc')
-rw-r--r-- | compiler/oat_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/oat_writer.cc b/compiler/oat_writer.cc index 8ab44d2c19..43f606af65 100644 --- a/compiler/oat_writer.cc +++ b/compiler/oat_writer.cc @@ -1225,7 +1225,7 @@ class OatWriter::WriteCodeMethodVisitor : public OatDexMethodVisitor { break; } default: { - DCHECK_EQ(patch.GetType(), LinkerPatch::Type::kRecordPosition); + DCHECK(false) << "Unexpected linker patch type: " << patch.GetType(); break; } } |