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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ | 648 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ |
649 F(ClassOf, 1, 1) \ | 649 F(ClassOf, 1, 1) \ |
650 F(StringCharCodeAt, 2, 1) \ | 650 F(StringCharCodeAt, 2, 1) \ |
651 F(Log, 3, 1) \ | 651 F(Log, 3, 1) \ |
652 F(StringAdd, 2, 1) \ | 652 F(StringAdd, 2, 1) \ |
653 F(SubString, 3, 1) \ | 653 F(SubString, 3, 1) \ |
654 F(StringCompare, 2, 1) \ | 654 F(StringCompare, 2, 1) \ |
655 F(RegExpExec, 4, 1) \ | 655 F(RegExpExec, 4, 1) \ |
656 F(RegExpConstructResult, 3, 1) \ | 656 F(RegExpConstructResult, 3, 1) \ |
657 F(GetFromCache, 2, 1) \ | 657 F(GetFromCache, 2, 1) \ |
658 F(NumberToString, 1, 1) \ | 658 F(NumberToString, 1, 1) |
659 F(DoubleHi, 1, 1) \ | |
660 F(DoubleLo, 1, 1) \ | |
661 F(ConstructDouble, 2, 1) | |
662 | 659 |
663 | 660 |
664 //--------------------------------------------------------------------------- | 661 //--------------------------------------------------------------------------- |
665 // Runtime provides access to all C++ runtime functions. | 662 // Runtime provides access to all C++ runtime functions. |
666 | 663 |
667 class RuntimeState { | 664 class RuntimeState { |
668 public: | 665 public: |
669 StaticResource<ConsStringIteratorOp>* string_iterator() { | 666 StaticResource<ConsStringIteratorOp>* string_iterator() { |
670 return &string_iterator_; | 667 return &string_iterator_; |
671 } | 668 } |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 861 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
865 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 862 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
866 | 863 |
867 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 864 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
868 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 865 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
869 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 866 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
870 | 867 |
871 } } // namespace v8::internal | 868 } } // namespace v8::internal |
872 | 869 |
873 #endif // V8_RUNTIME_H_ | 870 #endif // V8_RUNTIME_H_ |
OLD | NEW |