| 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));
|
| }
|
|
|
|
|
|
|