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

Unified Diff: src/js/array.js

Issue 1794233006: Also return the resulting array in GetSortedArrayKeys (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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/js/array.js
diff --git a/src/js/array.js b/src/js/array.js
index ce92b82b482f2e1e6e8e653dc48667e1cde8b461..70538bc06d56b78f0c5d744a442f19c03759535c 100644
--- a/src/js/array.js
+++ b/src/js/array.js
@@ -88,6 +88,7 @@ function GetSortedArrayKeys(array, indices) {
keys.push(i);
}
}
+ return keys;
}
return InnerArraySort(indices, indices.length, KeySortCompare);
}
« 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