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 1909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1920 bool CreateInitialMaps(); | 1920 bool CreateInitialMaps(); |
1921 bool CreateInitialObjects(); | 1921 bool CreateInitialObjects(); |
1922 | 1922 |
1923 // These five Create*EntryStub functions are here and forced to not be inlined | 1923 // These five Create*EntryStub functions are here and forced to not be inlined |
1924 // because of a gcc-4.4 bug that assigns wrong vtable entries. | 1924 // because of a gcc-4.4 bug that assigns wrong vtable entries. |
1925 NO_INLINE(void CreateJSEntryStub()); | 1925 NO_INLINE(void CreateJSEntryStub()); |
1926 NO_INLINE(void CreateJSConstructEntryStub()); | 1926 NO_INLINE(void CreateJSConstructEntryStub()); |
1927 | 1927 |
1928 void CreateFixedStubs(); | 1928 void CreateFixedStubs(); |
1929 | 1929 |
1930 MaybeObject* CreateOddball(const char* to_string, | 1930 MUST_USE_RESULT MaybeObject* CreateOddball(const char* to_string, |
1931 Object* to_number, | 1931 Object* to_number, |
1932 byte kind); | 1932 byte kind); |
1933 | 1933 |
1934 // Allocate a JSArray with no elements | 1934 // Allocate a JSArray with no elements |
1935 MUST_USE_RESULT MaybeObject* AllocateJSArray( | 1935 MUST_USE_RESULT MaybeObject* AllocateJSArray( |
1936 ElementsKind elements_kind, | 1936 ElementsKind elements_kind, |
1937 PretenureFlag pretenure = NOT_TENURED); | 1937 PretenureFlag pretenure = NOT_TENURED); |
1938 | 1938 |
1939 // Allocate empty fixed array. | 1939 // Allocate empty fixed array. |
1940 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedArray(); | 1940 MUST_USE_RESULT MaybeObject* AllocateEmptyFixedArray(); |
1941 | 1941 |
1942 // Allocate empty fixed double array. | 1942 // Allocate empty fixed double array. |
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2837 AssertNoAllocation no_alloc; // i.e. no gc allowed. | 2837 AssertNoAllocation no_alloc; // i.e. no gc allowed. |
2838 | 2838 |
2839 private: | 2839 private: |
2840 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2840 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2841 }; | 2841 }; |
2842 #endif // DEBUG || LIVE_OBJECT_LIST | 2842 #endif // DEBUG || LIVE_OBJECT_LIST |
2843 | 2843 |
2844 } } // namespace v8::internal | 2844 } } // namespace v8::internal |
2845 | 2845 |
2846 #endif // V8_HEAP_H_ | 2846 #endif // V8_HEAP_H_ |
OLD | NEW |