OLD | NEW |
---|---|
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/objects.h" | 9 #include "src/objects.h" |
10 #include "src/zone.h" | 10 #include "src/zone.h" |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
697 F(DebugBreakInOptimizedCode, 0, 1) \ | 697 F(DebugBreakInOptimizedCode, 0, 1) \ |
698 F(ClassOf, 1, 1) \ | 698 F(ClassOf, 1, 1) \ |
699 F(StringCharCodeAt, 2, 1) \ | 699 F(StringCharCodeAt, 2, 1) \ |
700 F(StringAdd, 2, 1) \ | 700 F(StringAdd, 2, 1) \ |
701 F(SubString, 3, 1) \ | 701 F(SubString, 3, 1) \ |
702 F(StringCompare, 2, 1) \ | 702 F(StringCompare, 2, 1) \ |
703 F(RegExpExec, 4, 1) \ | 703 F(RegExpExec, 4, 1) \ |
704 F(RegExpConstructResult, 3, 1) \ | 704 F(RegExpConstructResult, 3, 1) \ |
705 F(GetFromCache, 2, 1) \ | 705 F(GetFromCache, 2, 1) \ |
706 F(NumberToString, 1, 1) \ | 706 F(NumberToString, 1, 1) \ |
707 F(DebugIsActive, 0, 1) | 707 F(DebugIsActive, 0, 1) \ |
708 F(HasFastPackedElements, 1, 1) | |
Dmitry Lomov (no reviews)
2014/11/27 07:17:54
Is it critical for HasFastPackedElements to be INL
adamk
2014/12/02 19:36:20
Not sure what counts as "critical". Sure, the impl
| |
708 | 709 |
709 | 710 |
710 // ---------------------------------------------------------------------------- | 711 // ---------------------------------------------------------------------------- |
711 // INLINE_OPTIMIZED_FUNCTION_LIST defines all inlined functions accessed | 712 // INLINE_OPTIMIZED_FUNCTION_LIST defines all inlined functions accessed |
712 // with a native call of the form %_name from within JS code that also have | 713 // with a native call of the form %_name from within JS code that also have |
713 // a corresponding runtime function, that is called from non-optimized code. | 714 // a corresponding runtime function, that is called from non-optimized code. |
714 // For the benefit of (fuzz) tests, the runtime version can also be called | 715 // For the benefit of (fuzz) tests, the runtime version can also be called |
715 // directly as %name (i.e. without the leading underscore). | 716 // directly as %name (i.e. without the leading underscore). |
716 // Entries have the form F(name, number of arguments, number of return values). | 717 // Entries have the form F(name, number of arguments, number of return values). |
717 #define INLINE_OPTIMIZED_FUNCTION_LIST(F) \ | 718 #define INLINE_OPTIMIZED_FUNCTION_LIST(F) \ |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
889 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; | 890 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; |
890 | 891 |
891 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 892 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
892 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 893 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
893 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; | 894 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; |
894 | 895 |
895 } // namespace internal | 896 } // namespace internal |
896 } // namespace v8 | 897 } // namespace v8 |
897 | 898 |
898 #endif // V8_RUNTIME_RUNTIME_H_ | 899 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |