| 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 2160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2171 | 2171 |
| 2172 bool CreateInitialMaps(); | 2172 bool CreateInitialMaps(); |
| 2173 bool CreateInitialObjects(); | 2173 bool CreateInitialObjects(); |
| 2174 | 2174 |
| 2175 // These five Create*EntryStub functions are here and forced to not be inlined | 2175 // These five Create*EntryStub functions are here and forced to not be inlined |
| 2176 // because of a gcc-4.4 bug that assigns wrong vtable entries. | 2176 // because of a gcc-4.4 bug that assigns wrong vtable entries. |
| 2177 NO_INLINE(void CreateJSEntryStub()); | 2177 NO_INLINE(void CreateJSEntryStub()); |
| 2178 NO_INLINE(void CreateJSConstructEntryStub()); | 2178 NO_INLINE(void CreateJSConstructEntryStub()); |
| 2179 | 2179 |
| 2180 void CreateFixedStubs(); | 2180 void CreateFixedStubs(); |
| 2181 void CreateStubsRequiringBuiltins(); | |
| 2182 | 2181 |
| 2183 MUST_USE_RESULT MaybeObject* CreateOddball(const char* to_string, | 2182 MUST_USE_RESULT MaybeObject* CreateOddball(const char* to_string, |
| 2184 Object* to_number, | 2183 Object* to_number, |
| 2185 byte kind); | 2184 byte kind); |
| 2186 | 2185 |
| 2187 // Allocate a JSArray with no elements | 2186 // Allocate a JSArray with no elements |
| 2188 MUST_USE_RESULT MaybeObject* AllocateJSArray( | 2187 MUST_USE_RESULT MaybeObject* AllocateJSArray( |
| 2189 ElementsKind elements_kind, | 2188 ElementsKind elements_kind, |
| 2190 PretenureFlag pretenure = NOT_TENURED); | 2189 PretenureFlag pretenure = NOT_TENURED); |
| 2191 | 2190 |
| (...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3082 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3081 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
| 3083 | 3082 |
| 3084 private: | 3083 private: |
| 3085 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3084 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 3086 }; | 3085 }; |
| 3087 #endif // DEBUG | 3086 #endif // DEBUG |
| 3088 | 3087 |
| 3089 } } // namespace v8::internal | 3088 } } // namespace v8::internal |
| 3090 | 3089 |
| 3091 #endif // V8_HEAP_H_ | 3090 #endif // V8_HEAP_H_ |
| OLD | NEW |