Revision: 19160
Author: [email protected]
Date: Thu Feb 6 14:40:59 2014 UTC
Log: A64: Replace EmitBranch(instr, al) with unconditional branch.
EmitBranch asserts that the condition is not 'al'.
TEST=mjsunit/compiler/short-circuit
[email protected]
Review URL: https://codereview.chromium.org/148323010
http://code.google.com/p/v8/source/detail?r=19160
Modified:
/branches/experimental/a64/src/a64/lithium-codegen-a64.cc
=======================================
--- /branches/experimental/a64/src/a64/lithium-codegen-a64.cc Thu Feb 6
14:30:18 2014 UTC
+++ /branches/experimental/a64/src/a64/lithium-codegen-a64.cc Thu Feb 6
14:40:59 2014 UTC
@@ -1769,7 +1769,7 @@
EmitCompareAndBranch(instr, ne, value, Operand(Smi::FromInt(0)));
} else if (type.IsJSArray()) {
ASSERT(!info()->IsStub());
- EmitBranch(instr, al);
+ EmitGoto(instr->TrueDestination(chunk()));
} else if (type.IsHeapNumber()) {
ASSERT(!info()->IsStub());
__ Ldr(double_scratch(), FieldMemOperand(value,
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.