OLD | NEW |
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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 F(NumberToFixed, 2, 1) \ | 180 F(NumberToFixed, 2, 1) \ |
181 F(NumberToExponential, 2, 1) \ | 181 F(NumberToExponential, 2, 1) \ |
182 F(NumberToPrecision, 2, 1) \ | 182 F(NumberToPrecision, 2, 1) \ |
183 F(IsValidSmi, 1, 1) \ | 183 F(IsValidSmi, 1, 1) \ |
184 \ | 184 \ |
185 /* Classes support */ \ | 185 /* Classes support */ \ |
186 F(ToMethod, 2, 1) \ | 186 F(ToMethod, 2, 1) \ |
187 F(HomeObjectSymbol, 0, 1) \ | 187 F(HomeObjectSymbol, 0, 1) \ |
188 F(DefineClass, 6, 1) \ | 188 F(DefineClass, 6, 1) \ |
189 F(DefineClassMethod, 3, 1) \ | 189 F(DefineClassMethod, 3, 1) \ |
190 F(DefineClassGetter, 3, 1) \ | |
191 F(DefineClassSetter, 3, 1) \ | |
192 F(ClassGetSourceCode, 1, 1) \ | 190 F(ClassGetSourceCode, 1, 1) \ |
193 F(ThrowNonMethodError, 0, 1) \ | 191 F(ThrowNonMethodError, 0, 1) \ |
194 F(ThrowUnsupportedSuperError, 0, 1) \ | 192 F(ThrowUnsupportedSuperError, 0, 1) \ |
195 F(LoadFromSuper, 3, 1) \ | 193 F(LoadFromSuper, 3, 1) \ |
196 F(LoadKeyedFromSuper, 3, 1) \ | 194 F(LoadKeyedFromSuper, 3, 1) \ |
197 F(StoreToSuper_Strict, 4, 1) \ | 195 F(StoreToSuper_Strict, 4, 1) \ |
198 F(StoreToSuper_Sloppy, 4, 1) \ | 196 F(StoreToSuper_Sloppy, 4, 1) \ |
199 F(StoreKeyedToSuper_Strict, 4, 1) \ | 197 F(StoreKeyedToSuper_Strict, 4, 1) \ |
200 F(StoreKeyedToSuper_Sloppy, 4, 1) \ | 198 F(StoreKeyedToSuper_Sloppy, 4, 1) \ |
201 F(DefaultConstructorSuperCall, 0, 1) | 199 F(DefaultConstructorSuperCall, 0, 1) |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 F(GlobalProxy, 1, 1) \ | 253 F(GlobalProxy, 1, 1) \ |
256 \ | 254 \ |
257 F(AddNamedProperty, 4, 1) \ | 255 F(AddNamedProperty, 4, 1) \ |
258 F(AddPropertyForTemplate, 4, 1) \ | 256 F(AddPropertyForTemplate, 4, 1) \ |
259 F(SetProperty, 4, 1) \ | 257 F(SetProperty, 4, 1) \ |
260 F(AddElement, 4, 1) \ | 258 F(AddElement, 4, 1) \ |
261 F(DefineApiAccessorProperty, 5, 1) \ | 259 F(DefineApiAccessorProperty, 5, 1) \ |
262 F(DefineDataPropertyUnchecked, 4, 1) \ | 260 F(DefineDataPropertyUnchecked, 4, 1) \ |
263 F(DefineAccessorPropertyUnchecked, 5, 1) \ | 261 F(DefineAccessorPropertyUnchecked, 5, 1) \ |
264 F(GetDataProperty, 2, 1) \ | 262 F(GetDataProperty, 2, 1) \ |
| 263 F(DefineGetterPropertyUnchecked, 3, 1) \ |
| 264 F(DefineSetterPropertyUnchecked, 3, 1) \ |
265 \ | 265 \ |
266 /* Arrays */ \ | 266 /* Arrays */ \ |
267 F(RemoveArrayHoles, 2, 1) \ | 267 F(RemoveArrayHoles, 2, 1) \ |
268 F(GetArrayKeys, 2, 1) \ | 268 F(GetArrayKeys, 2, 1) \ |
269 F(MoveArrayContents, 2, 1) \ | 269 F(MoveArrayContents, 2, 1) \ |
270 F(EstimateNumberOfElements, 1, 1) \ | 270 F(EstimateNumberOfElements, 1, 1) \ |
271 F(NormalizeElements, 1, 1) \ | 271 F(NormalizeElements, 1, 1) \ |
272 F(HasComplexElements, 1, 1) \ | 272 F(HasComplexElements, 1, 1) \ |
273 \ | 273 \ |
274 /* Getters and Setters */ \ | 274 /* Getters and Setters */ \ |
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; | 889 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; |
890 | 890 |
891 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 891 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
892 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 892 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
893 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; | 893 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; |
894 | 894 |
895 } // namespace internal | 895 } // namespace internal |
896 } // namespace v8 | 896 } // namespace v8 |
897 | 897 |
898 #endif // V8_RUNTIME_RUNTIME_H_ | 898 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |