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

Side by Side Diff: src/code-stubs.cc

Issue 477263002: ES6: Add support for method shorthand in object literals (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/cpu-profiler.h" 9 #include "src/cpu-profiler.h"
10 #include "src/factory.h" 10 #include "src/factory.h"
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 } 877 }
878 878
879 879
880 void NumberToStringStub::InstallDescriptors(Isolate* isolate) { 880 void NumberToStringStub::InstallDescriptors(Isolate* isolate) {
881 NumberToStringStub stub(isolate); 881 NumberToStringStub stub(isolate);
882 InstallDescriptor(isolate, &stub); 882 InstallDescriptor(isolate, &stub);
883 } 883 }
884 884
885 885
886 void FastNewClosureStub::InstallDescriptors(Isolate* isolate) { 886 void FastNewClosureStub::InstallDescriptors(Isolate* isolate) {
887 FastNewClosureStub stub(isolate, STRICT, false); 887 FastNewClosureStub stub(isolate, STRICT, FunctionKind::kNormalFunction);
888 InstallDescriptor(isolate, &stub); 888 InstallDescriptor(isolate, &stub);
889 } 889 }
890 890
891 891
892 void FastNewContextStub::InstallDescriptors(Isolate* isolate) { 892 void FastNewContextStub::InstallDescriptors(Isolate* isolate) {
893 FastNewContextStub stub(isolate, FastNewContextStub::kMaximumSlots); 893 FastNewContextStub stub(isolate, FastNewContextStub::kMaximumSlots);
894 InstallDescriptor(isolate, &stub); 894 InstallDescriptor(isolate, &stub);
895 } 895 }
896 896
897 897
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 InstallDescriptor(isolate, &stub3); 976 InstallDescriptor(isolate, &stub3);
977 } 977 }
978 978
979 InternalArrayConstructorStub::InternalArrayConstructorStub( 979 InternalArrayConstructorStub::InternalArrayConstructorStub(
980 Isolate* isolate) : PlatformCodeStub(isolate) { 980 Isolate* isolate) : PlatformCodeStub(isolate) {
981 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 981 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
982 } 982 }
983 983
984 984
985 } } // namespace v8::internal 985 } } // namespace v8::internal
OLDNEW
« src/ast.h ('K') | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698