| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 6803c04ef2c2c413c2130fa3780333dc1b3a8e6f..053f8704e61f73457f6b45b0dc26aee792c3dbc2 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -143,6 +143,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) {
|
|
|