| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 5e3b3f3283adfb01e511c43210701fcf1d31a980..deb808c4071aa0bf9b75e038d04f0bb39379f31b 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -2614,6 +2614,21 @@ Handle<StackTraceInfo> Factory::NewStackTraceInfo(
|
| return stack_trace_info;
|
| }
|
|
|
| +Handle<SourcePositionTableWithFrameCache>
|
| +Factory::NewSourcePositionTableWithFrameCache(
|
| + Handle<ByteArray> source_position_table,
|
| + Handle<UnseededNumberDictionary> stack_frame_cache) {
|
| + Handle<SourcePositionTableWithFrameCache>
|
| + source_position_table_with_frame_cache =
|
| + Handle<SourcePositionTableWithFrameCache>::cast(
|
| + NewStruct(SOURCE_POSITION_TABLE_WITH_FRAME_CACHE_TYPE));
|
| + source_position_table_with_frame_cache->set_source_position_table(
|
| + *source_position_table);
|
| + source_position_table_with_frame_cache->set_stack_frame_cache(
|
| + *stack_frame_cache);
|
| + return source_position_table_with_frame_cache;
|
| +}
|
| +
|
| Handle<JSObject> Factory::NewArgumentsObject(Handle<JSFunction> callee,
|
| int length) {
|
| bool strict_mode_callee = is_strict(callee->shared()->language_mode()) ||
|
|
|