summaryrefslogtreecommitdiffstats
path: root/dx
diff options
context:
space:
mode:
authorjeffhao <jeffhao@google.com>2011-02-10 12:46:14 -0800
committerjeffhao <jeffhao@google.com>2011-02-10 12:46:14 -0800
commit95e34fe4357c34da3bfb39404b18e8dc2664ad50 (patch)
tree0ffd6ecc8892e6be85867bda79b38e36ae36dc81 /dx
parente1c3a8e2203881759efec3538cc654937de1d817 (diff)
downloadandroid_dalvik-95e34fe4357c34da3bfb39404b18e8dc2664ad50.tar.gz
android_dalvik-95e34fe4357c34da3bfb39404b18e8dc2664ad50.tar.bz2
android_dalvik-95e34fe4357c34da3bfb39404b18e8dc2664ad50.zip
Reverting SCCP change to division because the system doesn't start.
Temporarily reverting change to allow the system to boot while the root cause is determined. Change-Id: Ife1fb6fc99fead9eb72fff8415969fc4955ff7cd
Diffstat (limited to 'dx')
-rw-r--r--dx/src/com/android/dx/ssa/SCCP.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/dx/src/com/android/dx/ssa/SCCP.java b/dx/src/com/android/dx/ssa/SCCP.java
index edc192314..14b348fb9 100644
--- a/dx/src/com/android/dx/ssa/SCCP.java
+++ b/dx/src/com/android/dx/ssa/SCCP.java
@@ -478,6 +478,7 @@ public class SCCP {
int opcode = insn.getOpcode().getOpcode();
// TODO: Handle non-int arithmetic.
+ /*
if (resultType != Type.BT_INT) {
return;
}
@@ -490,6 +491,7 @@ public class SCCP {
insn = predInsns.get(predInsns.size()-1);
opcode = insn.getOpcode().getOpcode();
}
+ */
switch (opcode) {
case RegOps.CONST: {