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

Unified Diff: src/string-iterator.js

Issue 1088863002: Revert of Reland of Wrap typed array implementations in functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 | « src/bootstrapper.cc ('k') | src/typedarray.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/string-iterator.js
diff --git a/src/string-iterator.js b/src/string-iterator.js
index dea81e572540a5615a54d527949bbe3a4ead317e..8d72b81e8be159371546362a159eaf87c4c50f1e 100644
--- a/src/string-iterator.js
+++ b/src/string-iterator.js
@@ -48,7 +48,7 @@
var s = GET_PRIVATE(iterator, stringIteratorIteratedStringSymbol);
if (IS_UNDEFINED(s)) {
- return $iteratorCreateResultObject(UNDEFINED, true);
+ return CreateIteratorResultObject(UNDEFINED, true);
}
var position = GET_PRIVATE(iterator, stringIteratorNextIndexSymbol);
@@ -57,7 +57,7 @@
if (position >= length) {
SET_PRIVATE(iterator, stringIteratorIteratedStringSymbol,
UNDEFINED);
- return $iteratorCreateResultObject(UNDEFINED, true);
+ return CreateIteratorResultObject(UNDEFINED, true);
}
var first = %_StringCharCodeAt(s, position);
@@ -74,7 +74,7 @@
SET_PRIVATE(iterator, stringIteratorNextIndexSymbol, position);
- return $iteratorCreateResultObject(resultString, false);
+ return CreateIteratorResultObject(resultString, false);
}
« no previous file with comments | « src/bootstrapper.cc ('k') | src/typedarray.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698