| 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 2076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2087 | 2087 |
| 2088 bool CreateInitialMaps(); | 2088 bool CreateInitialMaps(); |
| 2089 bool CreateInitialObjects(); | 2089 bool CreateInitialObjects(); |
| 2090 | 2090 |
| 2091 // These five Create*EntryStub functions are here and forced to not be inlined | 2091 // These five Create*EntryStub functions are here and forced to not be inlined |
| 2092 // because of a gcc-4.4 bug that assigns wrong vtable entries. | 2092 // because of a gcc-4.4 bug that assigns wrong vtable entries. |
| 2093 NO_INLINE(void CreateJSEntryStub()); | 2093 NO_INLINE(void CreateJSEntryStub()); |
| 2094 NO_INLINE(void CreateJSConstructEntryStub()); | 2094 NO_INLINE(void CreateJSConstructEntryStub()); |
| 2095 | 2095 |
| 2096 void CreateFixedStubs(); | 2096 void CreateFixedStubs(); |
| 2097 void CreateStubsRequiringBuiltins(); |
| 2097 | 2098 |
| 2098 MUST_USE_RESULT MaybeObject* CreateOddball(const char* to_string, | 2099 MUST_USE_RESULT MaybeObject* CreateOddball(const char* to_string, |
| 2099 Object* to_number, | 2100 Object* to_number, |
| 2100 byte kind); | 2101 byte kind); |
| 2101 | 2102 |
| 2102 // Allocate a JSArray with no elements | 2103 // Allocate a JSArray with no elements |
| 2103 MUST_USE_RESULT MaybeObject* AllocateJSArray( | 2104 MUST_USE_RESULT MaybeObject* AllocateJSArray( |
| 2104 ElementsKind elements_kind, | 2105 ElementsKind elements_kind, |
| 2105 PretenureFlag pretenure = NOT_TENURED); | 2106 PretenureFlag pretenure = NOT_TENURED); |
| 2106 | 2107 |
| (...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3024 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3025 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
| 3025 | 3026 |
| 3026 private: | 3027 private: |
| 3027 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3028 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 3028 }; | 3029 }; |
| 3029 #endif // DEBUG | 3030 #endif // DEBUG |
| 3030 | 3031 |
| 3031 } } // namespace v8::internal | 3032 } } // namespace v8::internal |
| 3032 | 3033 |
| 3033 #endif // V8_HEAP_H_ | 3034 #endif // V8_HEAP_H_ |
| OLD | NEW |