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

Unified Diff: src/api.cc

Issue 1415663002: Revert "[api] expose Array Iterators to API" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « include/v8.h ('k') | src/contexts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 75939db8bb1d9c7503ac7357dd5a510ca326ff21..ba8de1cc9c70aee427f8566dfd884c3eae736619 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -6095,33 +6095,6 @@ Local<Object> Array::CloneElementAt(uint32_t index) {
}
-Local<Function> Array::GetKeysIterator(Isolate* isolate) {
- i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
- i::Handle<i::JSFunction> keys(
- i_isolate->native_context()->array_keys_iterator(), i_isolate);
- DCHECK(!keys.is_null());
- return Utils::ToLocal(keys);
-}
-
-
-Local<Function> Array::GetValuesIterator(Isolate* isolate) {
- i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
- i::Handle<i::JSFunction> values(
- i_isolate->native_context()->array_values_iterator(), i_isolate);
- DCHECK(!values.is_null());
- return Utils::ToLocal(values);
-}
-
-
-Local<Function> Array::GetEntriesIterator(Isolate* isolate) {
- i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
- i::Handle<i::JSFunction> entries(
- i_isolate->native_context()->array_entries_iterator(), i_isolate);
- DCHECK(!entries.is_null());
- return Utils::ToLocal(entries);
-}
-
-
Local<v8::Map> v8::Map::New(Isolate* isolate) {
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
LOG_API(i_isolate, "Map::New");
« no previous file with comments | « include/v8.h ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698