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

Side by Side Diff: src/runtime/runtime.h

Issue 718473002: ES6: Add support for super in object literals (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports too Created 6 years, 1 month 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 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 F(ClassGetSourceCode, 1, 1) \ 194 F(ClassGetSourceCode, 1, 1) \
195 F(ThrowNonMethodError, 0, 1) \ 195 F(ThrowNonMethodError, 0, 1) \
196 F(ThrowUnsupportedSuperError, 0, 1) \ 196 F(ThrowUnsupportedSuperError, 0, 1) \
197 F(LoadFromSuper, 3, 1) \ 197 F(LoadFromSuper, 3, 1) \
198 F(LoadKeyedFromSuper, 3, 1) \ 198 F(LoadKeyedFromSuper, 3, 1) \
199 F(StoreToSuper_Strict, 4, 1) \ 199 F(StoreToSuper_Strict, 4, 1) \
200 F(StoreToSuper_Sloppy, 4, 1) \ 200 F(StoreToSuper_Sloppy, 4, 1) \
201 F(StoreKeyedToSuper_Strict, 4, 1) \ 201 F(StoreKeyedToSuper_Strict, 4, 1) \
202 F(StoreKeyedToSuper_Sloppy, 4, 1) 202 F(StoreKeyedToSuper_Sloppy, 4, 1)
203 203
204
Dmitry Lomov (no reviews) 2014/11/11 11:50:38 Nit: stray edit
arv (Not doing code reviews) 2014/11/11 17:19:07 Done.
205 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ 204 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
206 /* Reflection */ \ 205 /* Reflection */ \
207 F(FunctionSetInstanceClassName, 2, 1) \ 206 F(FunctionSetInstanceClassName, 2, 1) \
208 F(FunctionSetLength, 2, 1) \ 207 F(FunctionSetLength, 2, 1) \
209 F(FunctionSetPrototype, 2, 1) \ 208 F(FunctionSetPrototype, 2, 1) \
210 F(FunctionGetName, 1, 1) \ 209 F(FunctionGetName, 1, 1) \
211 F(FunctionSetName, 2, 1) \ 210 F(FunctionSetName, 2, 1) \
212 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ 211 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \
213 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ 212 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \
214 F(FunctionIsGenerator, 1, 1) \ 213 F(FunctionIsGenerator, 1, 1) \
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; 883 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
885 884
886 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 885 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
887 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 886 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
888 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; 887 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
889 888
890 } // namespace internal 889 } // namespace internal
891 } // namespace v8 890 } // namespace v8
892 891
893 #endif // V8_RUNTIME_RUNTIME_H_ 892 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« src/hydrogen.cc ('K') | « src/preparser.h ('k') | src/runtime/runtime-classes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698