diff options
author | Vladimir Marko <vmarko@google.com> | 2014-05-12 16:22:14 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2014-05-12 16:48:58 +0100 |
commit | 0dc242d6fc1254e6ca1c31e08e612bbf45644b17 (patch) | |
tree | a3389b2a7642745cd71843e903a77ea4282be284 /compiler/optimizing/graph_visualizer.h | |
parent | 6663c90d2f94b0035fabcaee1f26fd840c9f9161 (diff) |
Avoid unnecessary copy/load in EvalLoc() and LoadValue().
EvalLoc()/EvalLocWide() are used to prepare a register where
a value is subsequently stored, so they shouldn't copy the
old value to the new register for register class mismatch.
The only exception where we actually need a copy is
LoadValue()/LoadValueWide(), so we inline the old code that
makes the copy there. We also avoid loading inexpensive
constants when the value is already in the register.
Change-Id: I07519e9d4d9b3f7272233d196435f3035e4a3ca9
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions