summaryrefslogtreecommitdiff
path: root/compiler/dex/pass.h
diff options
context:
space:
mode:
author Jean Christophe Beyler <jean.christophe.beyler@intel.com> 2014-07-18 15:33:57 -0700
committer Jean Christophe Beyler <jean.christophe.beyler@intel.com> 2014-08-26 17:07:13 -0700
commit09321dfb4803669ba6d6f3fef6363a1fd7202eea (patch)
tree13c40e73bedfeaf994d62f1f27e56168634320d8 /compiler/dex/pass.h
parent07277a700cdc7de2f40773a05c7a791b71abd581 (diff)
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 <jean.christophe.beyler@intel.com>
Diffstat (limited to 'compiler/dex/pass.h')
-rw-r--r--compiler/dex/pass.h2
1 files changed, 1 insertions, 1 deletions
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);