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

Unified Diff: src/a64/stub-cache-a64.cc

Issue 129773006: A64: Fix result in CompileStringCharAtCall and CompileStringCharCodeAtCall. (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/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();
}
« 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