| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 V(Code, js_construct_entry_code, JsConstructEntryCode) \ | 148 V(Code, js_construct_entry_code, JsConstructEntryCode) \ |
| 149 V(FixedArray, natives_source_cache, NativesSourceCache) \ | 149 V(FixedArray, natives_source_cache, NativesSourceCache) \ |
| 150 V(Object, last_script_id, LastScriptId) \ | 150 V(Object, last_script_id, LastScriptId) \ |
| 151 V(Script, empty_script, EmptyScript) \ | 151 V(Script, empty_script, EmptyScript) \ |
| 152 V(Smi, real_stack_limit, RealStackLimit) \ | 152 V(Smi, real_stack_limit, RealStackLimit) \ |
| 153 V(StringDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ | 153 V(StringDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ |
| 154 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ | 154 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
| 155 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ | 155 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ |
| 156 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ | 156 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ |
| 157 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \ | 157 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \ |
| 158 V(JSObject, observation_state, ObservationState) | 158 V(JSObject, observation_state, ObservationState) \ |
| 159 V(Map, external_map, ExternalMap) |
| 159 | 160 |
| 160 #define ROOT_LIST(V) \ | 161 #define ROOT_LIST(V) \ |
| 161 STRONG_ROOT_LIST(V) \ | 162 STRONG_ROOT_LIST(V) \ |
| 162 V(SymbolTable, symbol_table, SymbolTable) | 163 V(SymbolTable, symbol_table, SymbolTable) |
| 163 | 164 |
| 164 #define SYMBOL_LIST(V) \ | 165 #define SYMBOL_LIST(V) \ |
| 165 V(Array_symbol, "Array") \ | 166 V(Array_symbol, "Array") \ |
| 166 V(Object_symbol, "Object") \ | 167 V(Object_symbol, "Object") \ |
| 167 V(Proto_symbol, "__proto__") \ | 168 V(Proto_symbol, "__proto__") \ |
| 168 V(StringImpl_symbol, "StringImpl") \ | 169 V(StringImpl_symbol, "StringImpl") \ |
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 | 659 |
| 659 // Allocate a map for the specified function | 660 // Allocate a map for the specified function |
| 660 MUST_USE_RESULT MaybeObject* AllocateInitialMap(JSFunction* fun); | 661 MUST_USE_RESULT MaybeObject* AllocateInitialMap(JSFunction* fun); |
| 661 | 662 |
| 662 // Allocates an empty code cache. | 663 // Allocates an empty code cache. |
| 663 MUST_USE_RESULT MaybeObject* AllocateCodeCache(); | 664 MUST_USE_RESULT MaybeObject* AllocateCodeCache(); |
| 664 | 665 |
| 665 // Allocates a serialized scope info. | 666 // Allocates a serialized scope info. |
| 666 MUST_USE_RESULT MaybeObject* AllocateScopeInfo(int length); | 667 MUST_USE_RESULT MaybeObject* AllocateScopeInfo(int length); |
| 667 | 668 |
| 669 // Allocates an External object for v8's external API. |
| 670 MUST_USE_RESULT MaybeObject* AllocateExternal(void* value); |
| 671 |
| 668 // Allocates an empty PolymorphicCodeCache. | 672 // Allocates an empty PolymorphicCodeCache. |
| 669 MUST_USE_RESULT MaybeObject* AllocatePolymorphicCodeCache(); | 673 MUST_USE_RESULT MaybeObject* AllocatePolymorphicCodeCache(); |
| 670 | 674 |
| 671 // Allocates a pre-tenured empty AccessorPair. | 675 // Allocates a pre-tenured empty AccessorPair. |
| 672 MUST_USE_RESULT MaybeObject* AllocateAccessorPair(); | 676 MUST_USE_RESULT MaybeObject* AllocateAccessorPair(); |
| 673 | 677 |
| 674 // Allocates an empty TypeFeedbackInfo. | 678 // Allocates an empty TypeFeedbackInfo. |
| 675 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); | 679 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); |
| 676 | 680 |
| 677 // Allocates an AliasedArgumentsEntry. | 681 // Allocates an AliasedArgumentsEntry. |
| (...skipping 2146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2824 AssertNoAllocation no_alloc; // i.e. no gc allowed. | 2828 AssertNoAllocation no_alloc; // i.e. no gc allowed. |
| 2825 | 2829 |
| 2826 private: | 2830 private: |
| 2827 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2831 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 2828 }; | 2832 }; |
| 2829 #endif // DEBUG || LIVE_OBJECT_LIST | 2833 #endif // DEBUG || LIVE_OBJECT_LIST |
| 2830 | 2834 |
| 2831 } } // namespace v8::internal | 2835 } } // namespace v8::internal |
| 2832 | 2836 |
| 2833 #endif // V8_HEAP_H_ | 2837 #endif // V8_HEAP_H_ |
| OLD | NEW |