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

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

Issue 683893002: Classes: Add super support in methods and accessors (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Change test slightly 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
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/runtime/runtime-classes.cc » ('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 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 F(NumberToRadixString, 2, 1) \ 181 F(NumberToRadixString, 2, 1) \
182 F(NumberToFixed, 2, 1) \ 182 F(NumberToFixed, 2, 1) \
183 F(NumberToExponential, 2, 1) \ 183 F(NumberToExponential, 2, 1) \
184 F(NumberToPrecision, 2, 1) \ 184 F(NumberToPrecision, 2, 1) \
185 F(IsValidSmi, 1, 1) \ 185 F(IsValidSmi, 1, 1) \
186 \ 186 \
187 /* Classes support */ \ 187 /* Classes support */ \
188 F(ToMethod, 2, 1) \ 188 F(ToMethod, 2, 1) \
189 F(HomeObjectSymbol, 0, 1) \ 189 F(HomeObjectSymbol, 0, 1) \
190 F(DefineClass, 6, 1) \ 190 F(DefineClass, 6, 1) \
191 F(DefineClassMethod, 3, 1) \
192 F(DefineClassGetter, 3, 1) \
193 F(DefineClassSetter, 3, 1) \
191 F(ClassGetSourceCode, 1, 1) \ 194 F(ClassGetSourceCode, 1, 1) \
192 F(ThrowNonMethodError, 0, 1) \ 195 F(ThrowNonMethodError, 0, 1) \
193 F(ThrowUnsupportedSuperError, 0, 1) \ 196 F(ThrowUnsupportedSuperError, 0, 1) \
194 F(LoadFromSuper, 3, 1) \ 197 F(LoadFromSuper, 3, 1) \
195 F(LoadKeyedFromSuper, 3, 1) \ 198 F(LoadKeyedFromSuper, 3, 1) \
196 F(StoreToSuper_Strict, 4, 1) \ 199 F(StoreToSuper_Strict, 4, 1) \
197 F(StoreToSuper_Sloppy, 4, 1) \ 200 F(StoreToSuper_Sloppy, 4, 1) \
198 F(StoreKeyedToSuper_Strict, 4, 1) \ 201 F(StoreKeyedToSuper_Strict, 4, 1) \
199 F(StoreKeyedToSuper_Sloppy, 4, 1) 202 F(StoreKeyedToSuper_Sloppy, 4, 1)
200 203
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; 881 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
879 882
880 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 883 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
881 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 884 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
882 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; 885 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
883 886
884 } // namespace internal 887 } // namespace internal
885 } // namespace v8 888 } // namespace v8
886 889
887 #endif // V8_RUNTIME_RUNTIME_H_ 890 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/runtime/runtime-classes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698