summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2018-05-03 17:09:09 +0100
committerVladimir Marko <vmarko@google.com>2018-05-08 11:36:11 +0100
commitbd78567cef305e35481734b7fc24f68ded031439 (patch)
treee3873b73e3631c5cd70c1a3f8f38e79dad25d890 /compiler/driver/compiler_options.h
parent9926e4615d75cb6c9371e1766a14b0a80089ae18 (diff)
Store HIR type in HInstruction::packed_field_.
This is similar to https://android-review.googlesource.com/609566 though the performance impact has not been measured. However, avoiding a virtual call reduces pressure on the branch predictor and provides better optimization opportunities for the C++ compiler. As there is now no difference between HTemplateInstruction<> and HExpression<> (the type is stored in HInstruction), we remove the former and use HExpression<> for all instructions that have a fixed number of inputs. Test: Rely on TreeHugger. Change-Id: Ib3fd111048b0ac38ee65386a7e5af70c5ccc98de
Diffstat (limited to 'compiler/driver/compiler_options.h')
0 files changed, 0 insertions, 0 deletions