| 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_H_ | 5 #ifndef V8_RUNTIME_H_ |
| 6 #define V8_RUNTIME_H_ | 6 #define V8_RUNTIME_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/zone.h" | 9 #include "src/zone.h" |
| 10 | 10 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 F(NumberToFixed, 2, 1) \ | 179 F(NumberToFixed, 2, 1) \ |
| 180 F(NumberToExponential, 2, 1) \ | 180 F(NumberToExponential, 2, 1) \ |
| 181 F(NumberToPrecision, 2, 1) \ | 181 F(NumberToPrecision, 2, 1) \ |
| 182 F(IsValidSmi, 1, 1) \ | 182 F(IsValidSmi, 1, 1) \ |
| 183 \ | 183 \ |
| 184 /* Classes support */ \ | 184 /* Classes support */ \ |
| 185 F(ToMethod, 2, 1) \ | 185 F(ToMethod, 2, 1) \ |
| 186 F(HomeObjectSymbol, 0, 1) \ | 186 F(HomeObjectSymbol, 0, 1) \ |
| 187 F(ThrowNonMethodError, 0, 1) \ | 187 F(ThrowNonMethodError, 0, 1) \ |
| 188 F(ThrowUnsupportedSuperError, 0, 1) \ | 188 F(ThrowUnsupportedSuperError, 0, 1) \ |
| 189 F(LoadFromSuper, 3, 1) | 189 F(LoadFromSuper, 3, 1) \ |
| 190 F(StoreToSuper_Strict, 4, 1) \ |
| 191 F(StoreToSuper_Sloppy, 4, 1) |
| 190 | 192 |
| 191 | 193 |
| 192 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ | 194 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ |
| 193 /* Reflection */ \ | 195 /* Reflection */ \ |
| 194 F(FunctionSetInstanceClassName, 2, 1) \ | 196 F(FunctionSetInstanceClassName, 2, 1) \ |
| 195 F(FunctionSetLength, 2, 1) \ | 197 F(FunctionSetLength, 2, 1) \ |
| 196 F(FunctionSetPrototype, 2, 1) \ | 198 F(FunctionSetPrototype, 2, 1) \ |
| 197 F(FunctionGetName, 1, 1) \ | 199 F(FunctionGetName, 1, 1) \ |
| 198 F(FunctionSetName, 2, 1) \ | 200 F(FunctionSetName, 2, 1) \ |
| 199 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ | 201 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ |
| (...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 913 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 915 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
| 914 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 916 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
| 915 | 917 |
| 916 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 918 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 917 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 919 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 918 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 920 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
| 919 | 921 |
| 920 } } // namespace v8::internal | 922 } } // namespace v8::internal |
| 921 | 923 |
| 922 #endif // V8_RUNTIME_H_ | 924 #endif // V8_RUNTIME_H_ |
| OLD | NEW |