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

Unified Diff: src/factory.cc

Issue 898763002: Revert of Add WeakMap to v8.h (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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/runtime/runtime.h » ('j') | no next file with comments »
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 c1c818cfeea189c568090e690adf743033bfa355..8226a0e5d7f0e92dfe4775a327fee2776b16a55e 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -2233,15 +2233,6 @@
Object::SetProperty(result, callee_string(), callee, STRICT).Assert();
}
return result;
-}
-
-
-Handle<JSWeakMap> Factory::NewJSWeakMap() {
- // TODO(adamk): Currently the map is only created three times per
- // isolate. If it's created more often, the map should be moved into the
- // strong root list.
- Handle<Map> map = NewMap(JS_WEAK_MAP_TYPE, JSWeakMap::kSize);
- return Handle<JSWeakMap>::cast(NewJSObjectFromMap(map));
}
« no previous file with comments | « src/factory.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698