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

Unified Diff: src/factory.cc

Issue 1680513002: [runtime] We don't need an actual instance type for JSIteratorResult. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 | « src/factory.h ('k') | src/heap/objects-visiting.cc » ('j') | src/objects.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 3d094c9cb25fd5ffaf7f18c1fa3f22b6e607dcc1..fc40fe6c2dd1cdbf9d3f1299793d53518737afd2 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -1737,16 +1737,6 @@ Handle<JSSetIterator> Factory::NewJSSetIterator() {
}
-Handle<JSIteratorResult> Factory::NewJSIteratorResult(Handle<Object> value,
- Handle<Object> done) {
- Handle<JSIteratorResult> result = Handle<JSIteratorResult>::cast(
- NewJSObjectFromMap(isolate()->iterator_result_map()));
- result->set_value(*value);
- result->set_done(*done);
- return result;
-}
-
-
namespace {
ElementsKind GetExternalArrayElementsKind(ExternalArrayType type) {
« no previous file with comments | « src/factory.h ('k') | src/heap/objects-visiting.cc » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698