OSDN Git Service

Parse runtime compiler options for JIT
authorMathieu Chartier <mathieuc@google.com>
Fri, 16 Oct 2015 01:19:01 +0000 (18:19 -0700)
committerAndreas Gampe <agampe@google.com>
Fri, 16 Oct 2015 02:56:47 +0000 (19:56 -0700)
commitddb2a98fc557753a8080f23bea79bec3b89fee2c
treef621c2d16be4dc981d2e661888f741e288625d7c
parentf015c2f4835a9985a8b31cfc810129b69865a6c4
Parse runtime compiler options for JIT

For the case where the CppDefines do not match the device the JIT is
running on.

Sample logcat output to prove it works:
JIT instruction set variant krait
JIT instruction set features default

Bug: 24982714

(cherry picked from commit 085fc87e7ea42989a4a00cacb0c9c3a6d2590af6)

Change-Id: I1f4991a5d7cdc6101d1b0ecbcb39fb26dd20180a
compiler/jit/jit_compiler.cc