| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 F(GetLocalPropertyNames, 1, 1) \ | 58 F(GetLocalPropertyNames, 1, 1) \ |
| 59 F(GetLocalElementNames, 1, 1) \ | 59 F(GetLocalElementNames, 1, 1) \ |
| 60 F(GetInterceptorInfo, 1, 1) \ | 60 F(GetInterceptorInfo, 1, 1) \ |
| 61 F(GetNamedInterceptorPropertyNames, 1, 1) \ | 61 F(GetNamedInterceptorPropertyNames, 1, 1) \ |
| 62 F(GetIndexedInterceptorElementNames, 1, 1) \ | 62 F(GetIndexedInterceptorElementNames, 1, 1) \ |
| 63 F(GetArgumentsProperty, 1, 1) \ | 63 F(GetArgumentsProperty, 1, 1) \ |
| 64 F(ToFastProperties, 1, 1) \ | 64 F(ToFastProperties, 1, 1) \ |
| 65 F(ToSlowProperties, 1, 1) \ | 65 F(ToSlowProperties, 1, 1) \ |
| 66 F(FinishArrayPrototypeSetup, 1, 1) \ | 66 F(FinishArrayPrototypeSetup, 1, 1) \ |
| 67 F(SpecialArrayFunctions, 1, 1) \ | 67 F(SpecialArrayFunctions, 1, 1) \ |
| 68 F(GetGlobalReceiver, 0, 1) \ | 68 F(GetDefaultReceiver, 1, 1) \ |
| 69 \ | 69 \ |
| 70 F(GetPrototype, 1, 1) \ | 70 F(GetPrototype, 1, 1) \ |
| 71 F(IsInPrototypeChain, 2, 1) \ | 71 F(IsInPrototypeChain, 2, 1) \ |
| 72 F(SetHiddenPrototype, 2, 1) \ | 72 F(SetHiddenPrototype, 2, 1) \ |
| 73 \ | 73 \ |
| 74 F(IsConstructCall, 0, 1) \ | 74 F(IsConstructCall, 0, 1) \ |
| 75 \ | 75 \ |
| 76 F(GetOwnProperty, 2, 1) \ | 76 F(GetOwnProperty, 2, 1) \ |
| 77 \ | 77 \ |
| 78 F(IsExtensible, 1, 1) \ | 78 F(IsExtensible, 1, 1) \ |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 F(IsSpecObject, 1, 1) \ | 484 F(IsSpecObject, 1, 1) \ |
| 485 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ | 485 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ |
| 486 F(MathPow, 2, 1) \ | 486 F(MathPow, 2, 1) \ |
| 487 F(MathSin, 1, 1) \ | 487 F(MathSin, 1, 1) \ |
| 488 F(MathCos, 1, 1) \ | 488 F(MathCos, 1, 1) \ |
| 489 F(MathSqrt, 1, 1) \ | 489 F(MathSqrt, 1, 1) \ |
| 490 F(MathLog, 1, 1) \ | 490 F(MathLog, 1, 1) \ |
| 491 F(IsRegExpEquivalent, 2, 1) \ | 491 F(IsRegExpEquivalent, 2, 1) \ |
| 492 F(HasCachedArrayIndex, 1, 1) \ | 492 F(HasCachedArrayIndex, 1, 1) \ |
| 493 F(GetCachedArrayIndex, 1, 1) \ | 493 F(GetCachedArrayIndex, 1, 1) \ |
| 494 F(FastAsciiArrayJoin, 2, 1) \ | 494 F(FastAsciiArrayJoin, 2, 1) |
| 495 F(IsNativeOrStrictMode, 1, 1) | |
| 496 | 495 |
| 497 | 496 |
| 498 // ---------------------------------------------------------------------------- | 497 // ---------------------------------------------------------------------------- |
| 499 // INLINE_AND_RUNTIME_FUNCTION_LIST defines all inlined functions accessed | 498 // INLINE_AND_RUNTIME_FUNCTION_LIST defines all inlined functions accessed |
| 500 // with a native call of the form %_name from within JS code that also have | 499 // with a native call of the form %_name from within JS code that also have |
| 501 // a corresponding runtime function, that is called for slow cases. | 500 // a corresponding runtime function, that is called for slow cases. |
| 502 // Entries have the form F(name, number of arguments, number of return values). | 501 // Entries have the form F(name, number of arguments, number of return values). |
| 503 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ | 502 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ |
| 504 F(IsConstructCall, 0, 1) \ | 503 F(IsConstructCall, 0, 1) \ |
| 505 F(ClassOf, 1, 1) \ | 504 F(ClassOf, 1, 1) \ |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 Handle<Script> script, | 659 Handle<Script> script, |
| 661 int position); | 660 int position); |
| 662 | 661 |
| 663 // Helper functions used stubs. | 662 // Helper functions used stubs. |
| 664 static void PerformGC(Object* result); | 663 static void PerformGC(Object* result); |
| 665 }; | 664 }; |
| 666 | 665 |
| 667 } } // namespace v8::internal | 666 } } // namespace v8::internal |
| 668 | 667 |
| 669 #endif // V8_RUNTIME_H_ | 668 #endif // V8_RUNTIME_H_ |
| OLD | NEW |