Reviewers: m.m.capewell, jbramley,
Message:
PTAL
Description:
A64: Use the result of compare IC in StringCompareAndBranch.
TEST=mjsunit/third_party/string-trim
Please review this at https://codereview.chromium.org/149083004/
SVN Base: https://v8.googlecode.com/svn/branches/experimental/a64
Affected files (+2, -0 lines):
M src/a64/lithium-codegen-a64.cc
Index: src/a64/lithium-codegen-a64.cc
diff --git a/src/a64/lithium-codegen-a64.cc b/src/a64/lithium-codegen-a64.cc
index
4282bc7b67b097fd777f8a328c94b7a3b935c3af..f3894d5445b7732972c6b5d325d444e79dee6c6b
100644
--- a/src/a64/lithium-codegen-a64.cc
+++ b/src/a64/lithium-codegen-a64.cc
@@ -5108,6 +5108,8 @@ void
LCodeGen::DoStringCompareAndBranch(LStringCompareAndBranch* instr) {
Condition condition = TokenToCondition(op, false);
+ __ Tst(x0, x0);
+
EmitBranch(instr, condition);
}
--
--
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.