| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 866a6556abcced8b2821da2c7ce75c101852c893..05f2992edbd43632d1dcd1b6da437b04170916c5 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -152,6 +152,23 @@ Handle<DescriptorArray> Factory::NewDescriptorArray(int number_of_descriptors,
|
| }
|
|
|
|
|
| +Handle<TransitionArray> Factory::NewTransitionArray(int number_of_transitions) {
|
| + ASSERT(0 <= number_of_transitions);
|
| + CALL_HEAP_FUNCTION(isolate(),
|
| + TransitionArray::Allocate(
|
| + isolate(), number_of_transitions),
|
| + TransitionArray);
|
| +}
|
| +
|
| +
|
| +Handle<TransitionArray> Factory::NewSimpleTransitionArray(Handle<Map> target) {
|
| + CALL_HEAP_FUNCTION(isolate(),
|
| + TransitionArray::AllocateSimple(
|
| + isolate(), *target),
|
| + TransitionArray);
|
| +}
|
| +
|
| +
|
| Handle<DeoptimizationInputData> Factory::NewDeoptimizationInputData(
|
| int deopt_entry_count,
|
| PretenureFlag pretenure) {
|
|
|