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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
590 F(MathSin, 1, 1) \ | 590 F(MathSin, 1, 1) \ |
591 F(MathCos, 1, 1) \ | 591 F(MathCos, 1, 1) \ |
592 F(MathTan, 1, 1) \ | 592 F(MathTan, 1, 1) \ |
593 F(MathSqrt, 1, 1) \ | 593 F(MathSqrt, 1, 1) \ |
594 F(MathLog, 1, 1) \ | 594 F(MathLog, 1, 1) \ |
595 F(IsRegExpEquivalent, 2, 1) \ | 595 F(IsRegExpEquivalent, 2, 1) \ |
596 F(HasCachedArrayIndex, 1, 1) \ | 596 F(HasCachedArrayIndex, 1, 1) \ |
597 F(GetCachedArrayIndex, 1, 1) \ | 597 F(GetCachedArrayIndex, 1, 1) \ |
598 F(FastAsciiArrayJoin, 2, 1) \ | 598 F(FastAsciiArrayJoin, 2, 1) \ |
599 F(GeneratorNext, 2, 1) \ | 599 F(GeneratorNext, 2, 1) \ |
600 F(GeneratorThrow, 2, 1) | 600 F(GeneratorThrow, 2, 1) \ |
601 F(HDebugBreak, 0, 0) | |
Michael Starzinger
2013/06/26 14:16:15
As discussed offline: This only affects optimized
| |
601 | 602 |
602 | 603 |
603 // ---------------------------------------------------------------------------- | 604 // ---------------------------------------------------------------------------- |
604 // INLINE_RUNTIME_FUNCTION_LIST defines all inlined functions accessed | 605 // INLINE_RUNTIME_FUNCTION_LIST defines all inlined functions accessed |
605 // with a native call of the form %_name from within JS code that also have | 606 // with a native call of the form %_name from within JS code that also have |
606 // a corresponding runtime function, that is called for slow cases. | 607 // a corresponding runtime function, that is called for slow cases. |
607 // Entries have the form F(name, number of arguments, number of return values). | 608 // Entries have the form F(name, number of arguments, number of return values). |
608 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ | 609 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ |
609 F(ClassOf, 1, 1) \ | 610 F(ClassOf, 1, 1) \ |
610 F(StringCharCodeAt, 2, 1) \ | 611 F(StringCharCodeAt, 2, 1) \ |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
810 //--------------------------------------------------------------------------- | 811 //--------------------------------------------------------------------------- |
811 // Constants used by interface to runtime functions. | 812 // Constants used by interface to runtime functions. |
812 | 813 |
813 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 814 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
814 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 815 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
815 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 816 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
816 | 817 |
817 } } // namespace v8::internal | 818 } } // namespace v8::internal |
818 | 819 |
819 #endif // V8_RUNTIME_H_ | 820 #endif // V8_RUNTIME_H_ |
OLD | NEW |