Chromium Code Reviews| 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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 457 RUNTIME_FUNCTION(Runtime_DefaultConstructorCallSuper) { | 457 RUNTIME_FUNCTION(Runtime_DefaultConstructorCallSuper) { |
| 458 UNIMPLEMENTED(); | 458 UNIMPLEMENTED(); |
| 459 return nullptr; | 459 return nullptr; |
| 460 } | 460 } |
| 461 | 461 |
| 462 | 462 |
| 463 RUNTIME_FUNCTION(Runtime_CallSuperWithSpread) { | 463 RUNTIME_FUNCTION(Runtime_CallSuperWithSpread) { |
| 464 UNIMPLEMENTED(); | 464 UNIMPLEMENTED(); |
| 465 return nullptr; | 465 return nullptr; |
| 466 } | 466 } |
| 467 | |
| 468 | |
| 469 RUNTIME_FUNCTION(Runtime_GetNewTarget) { | |
| 470 HandleScope scope(isolate); | |
| 471 DCHECK(args.length() == 0); | |
| 472 JavaScriptFrameIterator it(isolate); | |
| 473 JavaScriptFrame* frame = it.frame(); | |
| 474 return frame->NewTarget(); | |
|
arv (Not doing code reviews)
2015/04/21 17:46:03
This is to make debugging easier... it should go a
| |
| 475 } | |
| 467 } | 476 } |
| 468 } // namespace v8::internal | 477 } // namespace v8::internal |
| OLD | NEW |