| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index c5a1fddb88b413c843f7ca051a421026b035537c..7ed604b17fb3ae37996dcd7e827afe48a74b2a8d 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1031,6 +1031,15 @@ Handle<JSObject> Factory::NewJSObjectFromMap(Handle<Map> map,
|
| }
|
|
|
|
|
| +Handle<JSObject> Factory::NewJSObjectFromMapForDeoptimizer(
|
| + Handle<Map> map, PretenureFlag pretenure) {
|
| + CALL_HEAP_FUNCTION(
|
| + isolate(),
|
| + isolate()->heap()->AllocateJSObjectFromMapForDeoptimizer(*map, pretenure),
|
| + JSObject);
|
| +}
|
| +
|
| +
|
| Handle<JSArray> Factory::NewJSArray(int capacity,
|
| ElementsKind elements_kind,
|
| PretenureFlag pretenure) {
|
|
|