| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 F(StringTrim, 3, 1) \ | 212 F(StringTrim, 3, 1) \ |
| 213 F(StringToArray, 2, 1) \ | 213 F(StringToArray, 2, 1) \ |
| 214 F(NewStringWrapper, 1, 1) \ | 214 F(NewStringWrapper, 1, 1) \ |
| 215 F(NewString, 2, 1) \ | 215 F(NewString, 2, 1) \ |
| 216 F(TruncateString, 2, 1) \ | 216 F(TruncateString, 2, 1) \ |
| 217 \ | 217 \ |
| 218 /* Numbers */ \ | 218 /* Numbers */ \ |
| 219 F(NumberToRadixString, 2, 1) \ | 219 F(NumberToRadixString, 2, 1) \ |
| 220 F(NumberToFixed, 2, 1) \ | 220 F(NumberToFixed, 2, 1) \ |
| 221 F(NumberToExponential, 2, 1) \ | 221 F(NumberToExponential, 2, 1) \ |
| 222 F(NumberToPrecision, 2, 1) | 222 F(NumberToPrecision, 2, 1) \ |
| 223 F(IsValidSmi, 1, 1) |
| 223 | 224 |
| 224 | 225 |
| 225 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ | 226 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ |
| 226 /* Reflection */ \ | 227 /* Reflection */ \ |
| 227 F(FunctionSetInstanceClassName, 2, 1) \ | 228 F(FunctionSetInstanceClassName, 2, 1) \ |
| 228 F(FunctionSetLength, 2, 1) \ | 229 F(FunctionSetLength, 2, 1) \ |
| 229 F(FunctionSetPrototype, 2, 1) \ | 230 F(FunctionSetPrototype, 2, 1) \ |
| 230 F(FunctionSetReadOnlyPrototype, 1, 1) \ | 231 F(FunctionSetReadOnlyPrototype, 1, 1) \ |
| 231 F(FunctionGetName, 1, 1) \ | 232 F(FunctionGetName, 1, 1) \ |
| 232 F(FunctionSetName, 2, 1) \ | 233 F(FunctionSetName, 2, 1) \ |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 //--------------------------------------------------------------------------- | 837 //--------------------------------------------------------------------------- |
| 837 // Constants used by interface to runtime functions. | 838 // Constants used by interface to runtime functions. |
| 838 | 839 |
| 839 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 840 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 840 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 841 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 841 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 842 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 842 | 843 |
| 843 } } // namespace v8::internal | 844 } } // namespace v8::internal |
| 844 | 845 |
| 845 #endif // V8_RUNTIME_H_ | 846 #endif // V8_RUNTIME_H_ |
| OLD | NEW |