summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/builder.cc
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2014-10-24 10:48:38 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-10-24 10:48:39 +0000
commit64727aeef8f4243f2058a19a43a937248a60dae1 (patch)
tree9bf09ff29bb49d4be382e49822300668913f18e5 /compiler/optimizing/builder.cc
parent8bde036ebd74ce94477e65077bed6dea9c29616b (diff)
parent2e07b4f0a84a7968b4690c2b1be2e2f75cc6fa8e (diff)
downloadandroid_art-64727aeef8f4243f2058a19a43a937248a60dae1.tar.gz
android_art-64727aeef8f4243f2058a19a43a937248a60dae1.tar.bz2
android_art-64727aeef8f4243f2058a19a43a937248a60dae1.zip
Merge "Revert "Revert "Implement long negate instruction in the optimizing compiler."""
Diffstat (limited to 'compiler/optimizing/builder.cc')
-rw-r--r--compiler/optimizing/builder.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/builder.cc b/compiler/optimizing/builder.cc
index e5e996434a..e4dee46c39 100644
--- a/compiler/optimizing/builder.cc
+++ b/compiler/optimizing/builder.cc
@@ -748,6 +748,11 @@ bool HGraphBuilder::AnalyzeDexInstruction(const Instruction& instruction, uint32
break;
}
+ case Instruction::NEG_LONG: {
+ Unop_12x<HNeg>(instruction, Primitive::kPrimLong);
+ break;
+ }
+
case Instruction::NOT_INT: {
Unop_12x<HNot>(instruction, Primitive::kPrimInt);
break;