diff options
Diffstat (limited to 'compiler/dex/pass.h')
-rw-r--r-- | compiler/dex/pass.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/dex/pass.h b/compiler/dex/pass.h index c377426ed5..e349eed76d 100644 --- a/compiler/dex/pass.h +++ b/compiler/dex/pass.h @@ -85,6 +85,9 @@ class Pass { // Unused parameter. UNUSED(data); + // Passes that do all their work in Start() or End() should not allow useless node iteration. + DCHECK(false) << "Unsupported default Worker() used for " << GetName(); + // BasicBlock did not change. return false; } |