| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stdlib.h> | 5 #include <stdlib.h> |
| 6 #include <limits> | 6 #include <limits> |
| 7 | 7 |
| 8 #include "src/v8.h" | 8 #include "src/v8.h" |
| 9 | 9 |
| 10 #include "src/arguments.h" | 10 #include "src/arguments.h" |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 return StoreKeyedToSuper(isolate, home_object, receiver, key, value, SLOPPY); | 463 return StoreKeyedToSuper(isolate, home_object, receiver, key, value, SLOPPY); |
| 464 } | 464 } |
| 465 | 465 |
| 466 | 466 |
| 467 RUNTIME_FUNCTION(Runtime_HandleStepInForDerivedConstructors) { | 467 RUNTIME_FUNCTION(Runtime_HandleStepInForDerivedConstructors) { |
| 468 HandleScope scope(isolate); | 468 HandleScope scope(isolate); |
| 469 DCHECK(args.length() == 1); | 469 DCHECK(args.length() == 1); |
| 470 CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0); | 470 CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0); |
| 471 Debug* debug = isolate->debug(); | 471 Debug* debug = isolate->debug(); |
| 472 // Handle stepping into constructors if step into is active. | 472 // Handle stepping into constructors if step into is active. |
| 473 if (debug->StepInActive()) { | 473 if (debug->StepInActive()) debug->HandleStepIn(function, true); |
| 474 debug->HandleStepIn(function, Handle<Object>::null(), 0, true); | |
| 475 } | |
| 476 return *isolate->factory()->undefined_value(); | 474 return *isolate->factory()->undefined_value(); |
| 477 } | 475 } |
| 478 | 476 |
| 479 | 477 |
| 480 RUNTIME_FUNCTION(Runtime_DefaultConstructorCallSuper) { | 478 RUNTIME_FUNCTION(Runtime_DefaultConstructorCallSuper) { |
| 481 UNIMPLEMENTED(); | 479 UNIMPLEMENTED(); |
| 482 return nullptr; | 480 return nullptr; |
| 483 } | 481 } |
| 484 | 482 |
| 485 | 483 |
| 486 RUNTIME_FUNCTION(Runtime_CallSuperWithSpread) { | 484 RUNTIME_FUNCTION(Runtime_CallSuperWithSpread) { |
| 487 UNIMPLEMENTED(); | 485 UNIMPLEMENTED(); |
| 488 return nullptr; | 486 return nullptr; |
| 489 } | 487 } |
| 490 } // namespace internal | 488 } // namespace internal |
| 491 } // namespace v8 | 489 } // namespace v8 |
| OLD | NEW |