diff options
author | buzbee <buzbee@google.com> | 2013-09-05 17:13:19 -0700 |
---|---|---|
committer | buzbee <buzbee@google.com> | 2013-09-06 15:55:51 -0700 |
commit | 56c717860df2d71d66fb77aa77f29dd346e559d3 (patch) | |
tree | 672cc501b98791939cab65b7b47329e90b73c005 /compiler/dex/quick/mir_to_lir-inl.h | |
parent | c7cd72c5ad65589b68e6aea185200fc2dbb0e850 (diff) | |
download | art-56c717860df2d71d66fb77aa77f29dd346e559d3.tar.gz art-56c717860df2d71d66fb77aa77f29dd346e559d3.tar.bz2 art-56c717860df2d71d66fb77aa77f29dd346e559d3.zip |
Compile-time tuning
Specialized the dataflow iterators and did a few other minor tweaks.
Showing ~5% compile-time improvement in a single-threaded environment;
less in multi-threaded (presumably because we're blocked by something
else).
Change-Id: I2e2ed58d881414b9fc97e04cd0623e188259afd2
Diffstat (limited to 'compiler/dex/quick/mir_to_lir-inl.h')
-rw-r--r-- | compiler/dex/quick/mir_to_lir-inl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/dex/quick/mir_to_lir-inl.h b/compiler/dex/quick/mir_to_lir-inl.h index 440df2afa6..f9ec19951e 100644 --- a/compiler/dex/quick/mir_to_lir-inl.h +++ b/compiler/dex/quick/mir_to_lir-inl.h @@ -33,7 +33,12 @@ inline void Mir2Lir::ClobberBody(RegisterInfo* p) { p->def_end = NULL; if (p->pair) { p->pair = false; - Clobber(p->partner); + p = GetRegInfo(p->partner); + p->pair = false; + p->live = false; + p->s_reg = INVALID_SREG; + p->def_start = NULL; + p->def_end = NULL; } } } |