Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Side by Side Diff: src/runtime/runtime-classes.cc

Issue 1083193005: WIP: new.target (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/runtime/runtime.h ('k') | src/scopes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/runtime/runtime.h ('k') | src/scopes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698