From 09321dfb4803669ba6d6f3fef6363a1fd7202eea Mon Sep 17 00:00:00 2001 From: Jean Christophe Beyler Date: Fri, 18 Jul 2014 15:33:57 -0700 Subject: ART: Added dirty flag to optimizations - Added a dirty flag to the PassMEDataHolder and use it to determine if we want to perform the post-optimization passes or not. Change-Id: I59a85f5198f9224d5fe8893397bfaf68a978d8f1 Signed-off-by: Jean Christophe Beyler --- compiler/dex/pass.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/dex/pass.h') diff --git a/compiler/dex/pass.h b/compiler/dex/pass.h index dbb5366af6..c377426ed5 100644 --- a/compiler/dex/pass.h +++ b/compiler/dex/pass.h @@ -81,7 +81,7 @@ class Pass { * @param data the object containing data necessary for the pass. * @return whether or not there is a change when walking the BasicBlock */ - virtual bool Worker(const PassDataHolder* data) const { + virtual bool Worker(PassDataHolder* data) const { // Unused parameter. UNUSED(data); -- cgit v1.2.3-59-g8ed1b