Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index b7ed46f7ff19c32d911776b7d4a53e167cf43573..bbe1ed8554a8c2e2afbc23114c20e42910d1b193 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -2478,6 +2478,13 @@ Handle<DebugInfo> Factory::NewDebugInfo(Handle<SharedFunctionInfo> shared) { |
return debug_info; |
} |
+Handle<BreakPointInfo> Factory::NewBreakPointInfo(int source_position) { |
+ Handle<BreakPointInfo> new_break_point_info = |
+ Handle<BreakPointInfo>::cast(NewStruct(BREAK_POINT_INFO_TYPE)); |
+ new_break_point_info->set_source_position(source_position); |
+ new_break_point_info->set_break_point_objects(*undefined_value()); |
+ return new_break_point_info; |
+} |
Handle<JSObject> Factory::NewArgumentsObject(Handle<JSFunction> callee, |
int length) { |