| 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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 F(MathPow, 2, 1) \ | 565 F(MathPow, 2, 1) \ |
| 566 F(MathSin, 1, 1) \ | 566 F(MathSin, 1, 1) \ |
| 567 F(MathCos, 1, 1) \ | 567 F(MathCos, 1, 1) \ |
| 568 F(MathTan, 1, 1) \ | 568 F(MathTan, 1, 1) \ |
| 569 F(MathSqrt, 1, 1) \ | 569 F(MathSqrt, 1, 1) \ |
| 570 F(MathLog, 1, 1) \ | 570 F(MathLog, 1, 1) \ |
| 571 F(IsRegExpEquivalent, 2, 1) \ | 571 F(IsRegExpEquivalent, 2, 1) \ |
| 572 F(HasCachedArrayIndex, 1, 1) \ | 572 F(HasCachedArrayIndex, 1, 1) \ |
| 573 F(GetCachedArrayIndex, 1, 1) \ | 573 F(GetCachedArrayIndex, 1, 1) \ |
| 574 F(FastAsciiArrayJoin, 2, 1) \ | 574 F(FastAsciiArrayJoin, 2, 1) \ |
| 575 F(GeneratorSend, 2, 1) \ | 575 F(GeneratorNext, 2, 1) \ |
| 576 F(GeneratorThrow, 2, 1) | 576 F(GeneratorThrow, 2, 1) |
| 577 | 577 |
| 578 | 578 |
| 579 // ---------------------------------------------------------------------------- | 579 // ---------------------------------------------------------------------------- |
| 580 // INLINE_RUNTIME_FUNCTION_LIST defines all inlined functions accessed | 580 // INLINE_RUNTIME_FUNCTION_LIST defines all inlined functions accessed |
| 581 // with a native call of the form %_name from within JS code that also have | 581 // with a native call of the form %_name from within JS code that also have |
| 582 // a corresponding runtime function, that is called for slow cases. | 582 // a corresponding runtime function, that is called for slow cases. |
| 583 // Entries have the form F(name, number of arguments, number of return values). | 583 // Entries have the form F(name, number of arguments, number of return values). |
| 584 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ | 584 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ |
| 585 F(ClassOf, 1, 1) \ | 585 F(ClassOf, 1, 1) \ |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 //--------------------------------------------------------------------------- | 782 //--------------------------------------------------------------------------- |
| 783 // Constants used by interface to runtime functions. | 783 // Constants used by interface to runtime functions. |
| 784 | 784 |
| 785 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 785 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 786 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 786 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 787 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 787 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 788 | 788 |
| 789 } } // namespace v8::internal | 789 } } // namespace v8::internal |
| 790 | 790 |
| 791 #endif // V8_RUNTIME_H_ | 791 #endif // V8_RUNTIME_H_ |
| OLD | NEW |