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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 F(Math_log1p, 1, 1) \ | 182 F(Math_log1p, 1, 1) \ |
183 F(Math_expm1, 1, 1) \ | 183 F(Math_expm1, 1, 1) \ |
184 F(Math_sqrt, 1, 1) \ | 184 F(Math_sqrt, 1, 1) \ |
185 F(Math_exp, 1, 1) \ | 185 F(Math_exp, 1, 1) \ |
186 F(Math_floor, 1, 1) \ | 186 F(Math_floor, 1, 1) \ |
187 F(Math_pow, 2, 1) \ | 187 F(Math_pow, 2, 1) \ |
188 F(Math_pow_cfunction, 2, 1) \ | 188 F(Math_pow_cfunction, 2, 1) \ |
189 F(Math_atan2, 2, 1) \ | 189 F(Math_atan2, 2, 1) \ |
190 F(RoundNumber, 1, 1) \ | 190 F(RoundNumber, 1, 1) \ |
191 F(Math_fround, 1, 1) \ | 191 F(Math_fround, 1, 1) \ |
| 192 F(DoubleHi, 1, 1) \ |
| 193 F(DoubleLo, 1, 1) \ |
| 194 F(ConstructDouble, 2, 1) \ |
192 \ | 195 \ |
193 /* Regular expressions */ \ | 196 /* Regular expressions */ \ |
194 F(RegExpCompile, 3, 1) \ | 197 F(RegExpCompile, 3, 1) \ |
195 F(RegExpExec, 4, 1) \ | 198 F(RegExpExec, 4, 1) \ |
196 F(RegExpExecMultiple, 4, 1) \ | 199 F(RegExpExecMultiple, 4, 1) \ |
197 F(RegExpInitializeObject, 5, 1) \ | 200 F(RegExpInitializeObject, 5, 1) \ |
198 F(RegExpConstructResult, 3, 1) \ | 201 F(RegExpConstructResult, 3, 1) \ |
199 \ | 202 \ |
200 /* JSON */ \ | 203 /* JSON */ \ |
201 F(ParseJson, 1, 1) \ | 204 F(ParseJson, 1, 1) \ |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ | 662 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ |
660 F(ClassOf, 1, 1) \ | 663 F(ClassOf, 1, 1) \ |
661 F(StringCharCodeAt, 2, 1) \ | 664 F(StringCharCodeAt, 2, 1) \ |
662 F(Log, 3, 1) \ | 665 F(Log, 3, 1) \ |
663 F(StringAdd, 2, 1) \ | 666 F(StringAdd, 2, 1) \ |
664 F(SubString, 3, 1) \ | 667 F(SubString, 3, 1) \ |
665 F(StringCompare, 2, 1) \ | 668 F(StringCompare, 2, 1) \ |
666 F(RegExpExec, 4, 1) \ | 669 F(RegExpExec, 4, 1) \ |
667 F(RegExpConstructResult, 3, 1) \ | 670 F(RegExpConstructResult, 3, 1) \ |
668 F(GetFromCache, 2, 1) \ | 671 F(GetFromCache, 2, 1) \ |
669 F(NumberToString, 1, 1) | 672 F(NumberToString, 1, 1) \ |
| 673 F(DoubleHi, 1, 1) \ |
| 674 F(DoubleLo, 1, 1) \ |
| 675 F(ConstructDouble, 2, 1) |
670 | 676 |
671 | 677 |
672 //--------------------------------------------------------------------------- | 678 //--------------------------------------------------------------------------- |
673 // Runtime provides access to all C++ runtime functions. | 679 // Runtime provides access to all C++ runtime functions. |
674 | 680 |
675 class RuntimeState { | 681 class RuntimeState { |
676 public: | 682 public: |
677 StaticResource<ConsStringIteratorOp>* string_iterator() { | 683 StaticResource<ConsStringIteratorOp>* string_iterator() { |
678 return &string_iterator_; | 684 return &string_iterator_; |
679 } | 685 } |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 879 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
874 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 880 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
875 | 881 |
876 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 882 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
877 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 883 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
878 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 884 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
879 | 885 |
880 } } // namespace v8::internal | 886 } } // namespace v8::internal |
881 | 887 |
882 #endif // V8_RUNTIME_H_ | 888 #endif // V8_RUNTIME_H_ |
OLD | NEW |