OSDN Git Service

Change JIT to not use PIC
authorMathieu Chartier <mathieuc@google.com>
Fri, 27 Feb 2015 22:24:37 +0000 (14:24 -0800)
committerMathieu Chartier <mathieuc@google.com>
Fri, 27 Feb 2015 23:34:04 +0000 (15:34 -0800)
Motivation: PIC is currenly slower and disables a lot of JIT
friendly optimizations.

EvaluateAndApplyChanges N5 eng interpreter + jit:
Before: 2540ms
After: 2350ms

Bug: 17950037

Change-Id: I3de3e7bcccfc53e49cb78370443c514248ec78d7

compiler/jit/jit_compiler.cc

index 2577391..0283791 100644 (file)
@@ -76,7 +76,7 @@ JitCompiler::JitCompiler() : total_time_(0) {
       false,
       false,
       false,
-      true,  // pic
+      false,  // pic
       nullptr,
       pass_manager_options,
       nullptr));