Reviewers: jbramley,
Message:
PTAL
Description:
A64: Fix result in CompileStringCharAtCall and CompileStringCharCodeAtCall.
TEST=mjsunit/string-charat
Please review this at https://codereview.chromium.org/129773006/
SVN Base: https://v8.googlecode.com/svn/branches/experimental/a64
Affected files (+2, -2 lines):
M src/a64/stub-cache-a64.cc
Index: src/a64/stub-cache-a64.cc
diff --git a/src/a64/stub-cache-a64.cc b/src/a64/stub-cache-a64.cc
index
43f292f690ae7cf574b1dc220e8acdb38ffcfac9..b8adb5d100473e31af119a1ee2d7cd742d731974
100644
--- a/src/a64/stub-cache-a64.cc
+++ b/src/a64/stub-cache-a64.cc
@@ -2049,7 +2049,7 @@ Handle<Code>
CallStubCompiler::CompileStringCharCodeAtCall(
if (index_out_of_range.is_linked()) {
__ Bind(&index_out_of_range);
- __ LoadRoot(result, Heap::kNanValueRootIndex);
+ __ LoadRoot(x0, Heap::kNanValueRootIndex);
__ Drop(argc + 1);
__ Ret();
}
@@ -2118,7 +2118,7 @@ Handle<Code>
CallStubCompiler::CompileStringCharAtCall(
if (index_out_of_range.is_linked()) {
__ Bind(&index_out_of_range);
- __ LoadRoot(result, Heap::kempty_stringRootIndex);
+ __ LoadRoot(x0, Heap::kempty_stringRootIndex);
__ Drop(argc + 1);
__ Ret();
}
--
--
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.