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 2117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2128 | 2128 |
2129 bool CreateInitialMaps(); | 2129 bool CreateInitialMaps(); |
2130 bool CreateInitialObjects(); | 2130 bool CreateInitialObjects(); |
2131 | 2131 |
2132 // These five Create*EntryStub functions are here and forced to not be inlined | 2132 // These five Create*EntryStub functions are here and forced to not be inlined |
2133 // because of a gcc-4.4 bug that assigns wrong vtable entries. | 2133 // because of a gcc-4.4 bug that assigns wrong vtable entries. |
2134 NO_INLINE(void CreateJSEntryStub()); | 2134 NO_INLINE(void CreateJSEntryStub()); |
2135 NO_INLINE(void CreateJSConstructEntryStub()); | 2135 NO_INLINE(void CreateJSConstructEntryStub()); |
2136 | 2136 |
2137 void CreateFixedStubs(); | 2137 void CreateFixedStubs(); |
| 2138 void CreateStubsRequiringBuiltins(); |
2138 | 2139 |
2139 MUST_USE_RESULT MaybeObject* CreateOddball(const char* to_string, | 2140 MUST_USE_RESULT MaybeObject* CreateOddball(const char* to_string, |
2140 Object* to_number, | 2141 Object* to_number, |
2141 byte kind); | 2142 byte kind); |
2142 | 2143 |
2143 // Allocate a JSArray with no elements | 2144 // Allocate a JSArray with no elements |
2144 MUST_USE_RESULT MaybeObject* AllocateJSArray( | 2145 MUST_USE_RESULT MaybeObject* AllocateJSArray( |
2145 ElementsKind elements_kind, | 2146 ElementsKind elements_kind, |
2146 PretenureFlag pretenure = NOT_TENURED); | 2147 PretenureFlag pretenure = NOT_TENURED); |
2147 | 2148 |
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3089 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3090 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3090 | 3091 |
3091 private: | 3092 private: |
3092 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3093 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3093 }; | 3094 }; |
3094 #endif // DEBUG | 3095 #endif // DEBUG |
3095 | 3096 |
3096 } } // namespace v8::internal | 3097 } } // namespace v8::internal |
3097 | 3098 |
3098 #endif // V8_HEAP_H_ | 3099 #endif // V8_HEAP_H_ |
OLD | NEW |