| Index: src/runtime/runtime-debug.cc
|
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
|
| index 9aa4341b30ad30e226d4a65c6a1c3860e98b8ac0..e7aaed1f6fbed71adc8d88d5e2eb68d4b499b8f4 100644
|
| --- a/src/runtime/runtime-debug.cc
|
| +++ b/src/runtime/runtime-debug.cc
|
| @@ -3212,6 +3212,17 @@ RUNTIME_FUNCTION(Runtime_DebugIsActive) {
|
| }
|
|
|
|
|
| +RUNTIME_FUNCTION(Runtime_DebugHandleStepIntoAccessor) {
|
| + HandleScope scope(isolate);
|
| + DCHECK(args.length() == 2);
|
| + CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0);
|
| + Debug* debug = isolate->debug();
|
| + // Handle stepping into constructors if step into is active.
|
| + if (debug->StepInActive()) debug->HandleStepIn(function, false);
|
| + return *isolate->factory()->undefined_value();
|
| +}
|
| +
|
| +
|
| RUNTIME_FUNCTION(Runtime_DebugBreakInOptimizedCode) {
|
| UNIMPLEMENTED();
|
| return NULL;
|
|
|