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

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

Issue 1135243004: [es6] Support super.property in eval and arrow functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Try feedback slot Created 5 years, 7 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
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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 RUNTIME_FUNCTION(Runtime_DefaultConstructorCallSuper) { 456 RUNTIME_FUNCTION(Runtime_DefaultConstructorCallSuper) {
457 UNIMPLEMENTED(); 457 UNIMPLEMENTED();
458 return nullptr; 458 return nullptr;
459 } 459 }
460 460
461 461
462 RUNTIME_FUNCTION(Runtime_CallSuperWithSpread) { 462 RUNTIME_FUNCTION(Runtime_CallSuperWithSpread) {
463 UNIMPLEMENTED(); 463 UNIMPLEMENTED();
464 return nullptr; 464 return nullptr;
465 } 465 }
466
467
468 RUNTIME_FUNCTION(Runtime_LoadHomeObject) {
469 HandleScope scope(isolate);
470 DCHECK(args.length() == 1);
471 CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0);
472
473 Handle<Object> home_object;
474 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
475 isolate, home_object,
476 Object::GetProperty(function, isolate->factory()->home_object_symbol()));
477 DCHECK(home_object->IsJSReceiver());
478 return *home_object;
479 }
466 } 480 }
467 } // namespace v8::internal 481 } // namespace v8::internal
OLDNEW
« src/ast-numbering.cc ('K') | « src/runtime/runtime.h ('k') | src/scopes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698