diff options
author | buzbee <buzbee@google.com> | 2014-05-21 14:53:51 -0700 |
---|---|---|
committer | buzbee <buzbee@google.com> | 2014-05-21 15:33:53 -0700 |
commit | ef562fdef7e0071cae11e07a9e53fb152d0934b8 (patch) | |
tree | 301ab5f1a9356d32ae13c809006da2ae2cc55fe7 /compiler/dex/local_value_numbering_test.cc | |
parent | 9c47134233b3f191690eb142141de95aeeb62d2a (diff) | |
download | art-ef562fdef7e0071cae11e07a9e53fb152d0934b8.zip art-ef562fdef7e0071cae11e07a9e53fb152d0934b8.tar.gz art-ef562fdef7e0071cae11e07a9e53fb152d0934b8.tar.bz2 |
Quick compiler: free up space in MIR.
The width field in MIR isn't especially useful - it could always
be recalculated from the Dalvik instruction. This CL eliminates
it to allow the 16 bits it occupied to be used for the ID of the
parent BasicBlock.
Change-Id: I75ab8562ca217f0f819ecfc417014dee74bc587e
Diffstat (limited to 'compiler/dex/local_value_numbering_test.cc')
-rw-r--r-- | compiler/dex/local_value_numbering_test.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/dex/local_value_numbering_test.cc b/compiler/dex/local_value_numbering_test.cc index 2b1c420..e56e016 100644 --- a/compiler/dex/local_value_numbering_test.cc +++ b/compiler/dex/local_value_numbering_test.cc @@ -144,7 +144,6 @@ class LocalValueNumberingTest : public testing::Test { mir->ssa_rep->fp_def = nullptr; // Not used by LVN. mir->dalvikInsn.opcode = def->opcode; mir->offset = i; // LVN uses offset only for debug output - mir->width = 1u; // Not used by LVN. mir->optimization_flags = 0u; if (i != 0u) { |