aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2009-10-07 11:48:15 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-10-07 11:48:15 -0700
commitfc11951fdedd724620eaf6f869db8572ba0c93cb (patch)
tree8d375e4da200e2216ec57cb4450073a4165b2c45 /android
parent8137654a41972a8713b74857d7a81050f84485f3 (diff)
parentddf49e53df97a349f42c733059165dc73c9907dc (diff)
downloadexternal_qemu-fc11951fdedd724620eaf6f869db8572ba0c93cb.zip
external_qemu-fc11951fdedd724620eaf6f869db8572ba0c93cb.tar.gz
external_qemu-fc11951fdedd724620eaf6f869db8572ba0c93cb.tar.bz2
am ddf49e53: Workaround ARMv7 emulation issues.
Merge commit 'ddf49e53df97a349f42c733059165dc73c9907dc' into eclair-plus-aosp * commit 'ddf49e53df97a349f42c733059165dc73c9907dc': Workaround ARMv7 emulation issues.
Diffstat (limited to 'android')
-rw-r--r--android/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/android/main.c b/android/main.c
index 682cfce..686dac8 100644
--- a/android/main.c
+++ b/android/main.c
@@ -67,6 +67,8 @@
#include "android/globals.h"
#include "tcpdump.h"
+#include "tcg.h"
+
/* in vl.c */
extern void qemu_help(int code);
@@ -2356,6 +2358,14 @@ int main(int argc, char **argv)
args[n++] = "-cpu";
args[n++] = "cortex-a8";
}
+ /* we also disable liveness analysis in the code generator, because it seems
+ * that ARMv7 -> x86 code generation triggers a fatal assertion when it is
+ * activated. The drawback is that the generated code is slower, but at the
+ * moment, ARMv7 emulation is only used to run the dex preopt pass within the
+ * Android build system. This hack should be removed when we fix the code
+ * generator.
+ */
+ tcg_disable_liveness_analysis = 1;
}
args[n++] = "-initrd";