OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 F(IsFunction, 1, 1) \ | 411 F(IsFunction, 1, 1) \ |
412 F(IsUndetectableObject, 1, 1) \ | 412 F(IsUndetectableObject, 1, 1) \ |
413 F(IsSpecObject, 1, 1) \ | 413 F(IsSpecObject, 1, 1) \ |
414 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ | 414 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ |
415 F(MathPow, 2, 1) \ | 415 F(MathPow, 2, 1) \ |
416 F(MathSin, 1, 1) \ | 416 F(MathSin, 1, 1) \ |
417 F(MathCos, 1, 1) \ | 417 F(MathCos, 1, 1) \ |
418 F(MathSqrt, 1, 1) \ | 418 F(MathSqrt, 1, 1) \ |
419 F(IsRegExpEquivalent, 2, 1) \ | 419 F(IsRegExpEquivalent, 2, 1) \ |
420 F(HasCachedArrayIndex, 1, 1) \ | 420 F(HasCachedArrayIndex, 1, 1) \ |
421 F(GetCachedArrayIndex, 1, 1) | 421 F(GetCachedArrayIndex, 1, 1) \ |
| 422 F(FastAsciiArrayJoin, 2, 1) |
422 | 423 |
423 | 424 |
424 // ---------------------------------------------------------------------------- | 425 // ---------------------------------------------------------------------------- |
425 // INLINE_AND_RUNTIME_FUNCTION_LIST defines all inlined functions accessed | 426 // INLINE_AND_RUNTIME_FUNCTION_LIST defines all inlined functions accessed |
426 // with a native call of the form %_name from within JS code that also have | 427 // with a native call of the form %_name from within JS code that also have |
427 // a corresponding runtime function, that is called for slow cases. | 428 // a corresponding runtime function, that is called for slow cases. |
428 // Entries have the form F(name, number of arguments, number of return values). | 429 // Entries have the form F(name, number of arguments, number of return values). |
429 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ | 430 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ |
430 F(IsConstructCall, 0, 1) \ | 431 F(IsConstructCall, 0, 1) \ |
431 F(ClassOf, 1, 1) \ | 432 F(ClassOf, 1, 1) \ |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 int position); | 535 int position); |
535 | 536 |
536 // Helper functions used stubs. | 537 // Helper functions used stubs. |
537 static void PerformGC(Object* result); | 538 static void PerformGC(Object* result); |
538 }; | 539 }; |
539 | 540 |
540 | 541 |
541 } } // namespace v8::internal | 542 } } // namespace v8::internal |
542 | 543 |
543 #endif // V8_RUNTIME_H_ | 544 #endif // V8_RUNTIME_H_ |
OLD | NEW |