| 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 2106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2117 | 2117 |
| 2118 bool CreateInitialMaps(); | 2118 bool CreateInitialMaps(); |
| 2119 bool CreateInitialObjects(); | 2119 bool CreateInitialObjects(); |
| 2120 | 2120 |
| 2121 // These five Create*EntryStub functions are here and forced to not be inlined | 2121 // These five Create*EntryStub functions are here and forced to not be inlined |
| 2122 // because of a gcc-4.4 bug that assigns wrong vtable entries. | 2122 // because of a gcc-4.4 bug that assigns wrong vtable entries. |
| 2123 NO_INLINE(void CreateJSEntryStub()); | 2123 NO_INLINE(void CreateJSEntryStub()); |
| 2124 NO_INLINE(void CreateJSConstructEntryStub()); | 2124 NO_INLINE(void CreateJSConstructEntryStub()); |
| 2125 | 2125 |
| 2126 void CreateFixedStubs(); | 2126 void CreateFixedStubs(); |
| 2127 void CreateStubsRequiringBuiltins(); | |
| 2128 | 2127 |
| 2129 MUST_USE_RESULT MaybeObject* CreateOddball(const char* to_string, | 2128 MUST_USE_RESULT MaybeObject* CreateOddball(const char* to_string, |
| 2130 Object* to_number, | 2129 Object* to_number, |
| 2131 byte kind); | 2130 byte kind); |
| 2132 | 2131 |
| 2133 // Allocate a JSArray with no elements | 2132 // Allocate a JSArray with no elements |
| 2134 MUST_USE_RESULT MaybeObject* AllocateJSArray( | 2133 MUST_USE_RESULT MaybeObject* AllocateJSArray( |
| 2135 ElementsKind elements_kind, | 2134 ElementsKind elements_kind, |
| 2136 PretenureFlag pretenure = NOT_TENURED); | 2135 PretenureFlag pretenure = NOT_TENURED); |
| 2137 | 2136 |
| (...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3079 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3078 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
| 3080 | 3079 |
| 3081 private: | 3080 private: |
| 3082 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3081 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 3083 }; | 3082 }; |
| 3084 #endif // DEBUG | 3083 #endif // DEBUG |
| 3085 | 3084 |
| 3086 } } // namespace v8::internal | 3085 } } // namespace v8::internal |
| 3087 | 3086 |
| 3088 #endif // V8_HEAP_H_ | 3087 #endif // V8_HEAP_H_ |
| OLD | NEW |