summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2015-01-22 18:57:14 +0100
committerSebastien Hertz <shertz@google.com>2015-01-26 16:45:38 +0100
commit96ba8dc82e7bd859106af837623fe8b2e9e772c3 (patch)
treed7df58e8a9fb853621700d90ec4864129f6b3a0a /compiler/optimizing/graph_visualizer.cc
parent081d27817608c2ea035f2473c4ea1062a79bccef (diff)
Refactor register access from StackVisitor
Moves register access checking up to StackVisitor by adding methods IsAccessibleGPR and IsAccessibleFPR in Context class. It allows to simplify GetGPR/FPR and SetGPR/FPR methods in the Context class (and its subclasses). Also simplifies code in StackVisitor by adding IsAccessibleRegister, GetRegister and SetRegister methods which then call either GPR or FPR specific methods in Context depending on the nature of the accessed register. Bug: 18547544 Bug: 19106446 Change-Id: I6e707608d935a71571d0e975a6e766053de3763a
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions