| 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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 689 // INLINE_OPTIMIZED_FUNCTION_LIST defines all inlined functions accessed | 689 // INLINE_OPTIMIZED_FUNCTION_LIST defines all inlined functions accessed |
| 690 // with a native call of the form %_name from within JS code that also have | 690 // with a native call of the form %_name from within JS code that also have |
| 691 // a corresponding runtime function, that is called from non-optimized code. | 691 // a corresponding runtime function, that is called from non-optimized code. |
| 692 // Entries have the form F(name, number of arguments, number of return values). | 692 // Entries have the form F(name, number of arguments, number of return values). |
| 693 #define INLINE_OPTIMIZED_FUNCTION_LIST(F) \ | 693 #define INLINE_OPTIMIZED_FUNCTION_LIST(F) \ |
| 694 /* Typed Arrays */ \ | 694 /* Typed Arrays */ \ |
| 695 F(TypedArrayInitialize, 5, 1) \ | 695 F(TypedArrayInitialize, 5, 1) \ |
| 696 F(DataViewInitialize, 4, 1) \ | 696 F(DataViewInitialize, 4, 1) \ |
| 697 F(MaxSmi, 0, 1) \ | 697 F(MaxSmi, 0, 1) \ |
| 698 F(TypedArrayMaxSizeInHeap, 0, 1) \ | 698 F(TypedArrayMaxSizeInHeap, 0, 1) \ |
| 699 F(ArrayBufferViewGetByteLength, 1, 1) \ | 699 F(TypedArrayGetByteLength, 1, 1) \ |
| 700 F(ArrayBufferViewGetByteOffset, 1, 1) \ | 700 F(TypedArrayGetByteOffset, 1, 1) \ |
| 701 F(TypedArrayGetLength, 1, 1) \ | 701 F(TypedArrayGetLength, 1, 1) \ |
| 702 F(DataViewGetByteLength, 1, 1) \ |
| 703 F(DataViewGetByteOffset, 1, 1) \ |
| 702 /* ArrayBuffer */ \ | 704 /* ArrayBuffer */ \ |
| 703 F(ArrayBufferGetByteLength, 1, 1) \ | 705 F(ArrayBufferGetByteLength, 1, 1) \ |
| 704 /* Maths */ \ | 706 /* Maths */ \ |
| 705 F(ConstructDouble, 2, 1) \ | 707 F(ConstructDouble, 2, 1) \ |
| 706 F(DoubleHi, 1, 1) \ | 708 F(DoubleHi, 1, 1) \ |
| 707 F(DoubleLo, 1, 1) \ | 709 F(DoubleLo, 1, 1) \ |
| 708 F(MathSqrt, 1, 1) \ | 710 F(MathSqrt, 1, 1) \ |
| 709 F(MathLog, 1, 1) \ | 711 F(MathLog, 1, 1) \ |
| 710 /* Debugger */ \ | 712 /* Debugger */ \ |
| 711 F(DebugCallbackSupportsStepping, 1, 1) | 713 F(DebugCallbackSupportsStepping, 1, 1) |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 913 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
| 912 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 914 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
| 913 | 915 |
| 914 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 916 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 915 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 917 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 916 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 918 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
| 917 | 919 |
| 918 } } // namespace v8::internal | 920 } } // namespace v8::internal |
| 919 | 921 |
| 920 #endif // V8_RUNTIME_H_ | 922 #endif // V8_RUNTIME_H_ |
| OLD | NEW |