Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: src/a64/lithium-codegen-a64.cc

Issue 148323010: A64: Replace EmitBranch(instr, al) with unconditional branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/lithium-codegen-a64.cc
diff --git a/src/a64/lithium-codegen-a64.cc b/src/a64/lithium-codegen-a64.cc
index 5b7a71b55311bfbd4712718514c8db82dcf9d58c..16468969140deffdb7bbe80a74fb98ed2ac7a1b5 100644
--- a/src/a64/lithium-codegen-a64.cc
+++ b/src/a64/lithium-codegen-a64.cc
@@ -1737,7 +1737,7 @@ void LCodeGen::DoBranch(LBranch* instr) {
EmitCompareAndBranch(instr, ne, value, Operand(Smi::FromInt(0)));
} else if (type.IsJSArray()) {
ASSERT(!info()->IsStub());
- EmitBranch(instr, al);
+ __ B(true_label);
baptiste.afsa1 2014/02/06 13:00:06 Maybe you should use EmitGoto so we don't emit the
ulan 2014/02/06 13:17:40 Done.
} else if (type.IsHeapNumber()) {
ASSERT(!info()->IsStub());
__ Ldr(double_scratch(), FieldMemOperand(value,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698