OSDN Git Service

Generalize codegen and simplification of deopt.
authorAart Bik <ajcbik@google.com>
Mon, 19 Oct 2015 18:05:03 +0000 (11:05 -0700)
committerAart Bik <ajcbik@google.com>
Mon, 19 Oct 2015 18:12:11 +0000 (11:12 -0700)
commitbb245d199a5240b4c520263fd2c8c10dba79eadc
treee16b37485e3e0e34c24e35a71cc8e6986d1e2e70
parentd5a69fc429f57bf528aa061618d3ae94ee8deb24
Generalize codegen and simplification of deopt.

Rationale: the de-opt instruction is very similar to an if,
           so the existing assumption that it always has a
           conditional "under the hood" is very unsafe, since
           optimizations may have replaced conditionals with
           actual values; this CL generalizes handling of deopt.

Change-Id: I1c6cb71fdad2af869fa4714b38417dceed676459
compiler/optimizing/code_generator_arm.cc
compiler/optimizing/code_generator_arm64.cc
compiler/optimizing/code_generator_mips64.cc
compiler/optimizing/code_generator_x86.cc
compiler/optimizing/code_generator_x86_64.cc
compiler/optimizing/instruction_simplifier.cc