summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAlan Leung <acleung@google.com>2017-08-29 14:05:34 -0700
committerAlan Leung <acleung@google.com>2017-08-29 14:50:19 -0700
commiteaabac9e445d484bbccde3b81dbc429c41b76caf (patch)
treecbdfb6b910614dec0a15df3ba416e810f5242c24 /compiler/optimizing/graph_visualizer.cc
parent02cb397857c979dffae95e2db2678a72ec407cf0 (diff)
Move InlineWithControlFlow to Smali based.
D8 tends to split return blocks instead of having a Phi + single return. Instead of updating the checker assertions to match the dexer, this CL moves the function into smali. For reference, this is the D8 output: .method public static InlineWithControlFlow(Z)I .registers 5 .param p0, "cond" # Z const/4 v0, 0x1 .local v0, "const1":I const/4 v1, 0x3 .local v1, "const3":I const/4 v2, 0x5 .local v2, "const5":I if-eqz p0, :cond_a invoke-static {v0, v1}, LMain;->returnAdd(II)I move-result v3 return v3 :cond_a invoke-static {v2, v1}, LMain;->returnSub(II)I move-result v3 .local v3, "x":I return v3 .end method Bug: 65168732 Test: art/test.py -j20 --host -b Change-Id: Ic89ff89ab0b8a2b057c5d6157f7b7c73764a1071
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions