OSDN Git Service

Merge remote branch 'goog/dalvik-dev' into dalvik-dev-to-gingerbread
authorBrian Carlstrom <bdc@google.com>
Thu, 19 Aug 2010 18:21:12 +0000 (11:21 -0700)
committerBrian Carlstrom <bdc@google.com>
Fri, 20 Aug 2010 20:27:49 +0000 (13:27 -0700)
Also includes cherry-pick of 07ecdc0b5d92099364eebdaee9aec297c4bbad72

Change-Id: Ie1744d78683f2f66dd1586f453f8bdd56ad2e9a5

1  2 
vm/Dvm.mk
vm/ReconfigureDvm.mk
vm/compiler/Frontend.c

diff --cc vm/Dvm.mk
Simple merge
@@@ -22,8 -22,8 +22,10 @@@ dvm_simulator := $(TARGET_SIMULATOR
  
  include $(LOCAL_PATH)/Dvm.mk
  
--LOCAL_SHARED_LIBRARIES += \
-         liblog libcutils libdl libnativehelper libz
 -        liblog libcutils libnativehelper libz
++LOCAL_SHARED_LIBRARIES += liblog libcutils libnativehelper libz
++ifneq ($(TARGET_SIMULATOR),true)
++LOCAL_SHARED_LIBRARIES += libdl
++endif  # !TARGET_SIMULATOR
  
  LOCAL_STATIC_LIBRARIES += libdex
  
@@@ -874,10 -877,10 +877,13 @@@ bool dvmCompileTrace(JitTraceDescriptio
      /* Set the instruction set to use (NOTE: later components may change it) */
      cUnit.instructionSet = dvmCompilerInstructionSet();
  
++// FIXME: temporarily disable inline [Issue 2936748]
++#if 0
      /* Inline transformation @ the MIR level */
      if (cUnit.hasInvoke && !(gDvmJit.disableOpt & (1 << kMethodInlining))) {
          dvmCompilerInlineMIR(&cUnit);
      }
++#endif
  
      /* Preparation for SSA conversion */
      dvmInitializeSSAConversion(&cUnit);