Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: src/heap.h

Issue 11366132: Rollback of r12868, r12849 in trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 V(Code, js_entry_code, JsEntryCode) \ 147 V(Code, js_entry_code, JsEntryCode) \
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(Map, external_map, ExternalMap)
159 158
160 #define ROOT_LIST(V) \ 159 #define ROOT_LIST(V) \
161 STRONG_ROOT_LIST(V) \ 160 STRONG_ROOT_LIST(V) \
162 V(SymbolTable, symbol_table, SymbolTable) 161 V(SymbolTable, symbol_table, SymbolTable)
163 162
164 #define SYMBOL_LIST(V) \ 163 #define SYMBOL_LIST(V) \
165 V(Array_symbol, "Array") \ 164 V(Array_symbol, "Array") \
166 V(Object_symbol, "Object") \ 165 V(Object_symbol, "Object") \
167 V(Proto_symbol, "__proto__") \ 166 V(Proto_symbol, "__proto__") \
168 V(StringImpl_symbol, "StringImpl") \ 167 V(StringImpl_symbol, "StringImpl") \
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 657
659 // Allocate a map for the specified function 658 // Allocate a map for the specified function
660 MUST_USE_RESULT MaybeObject* AllocateInitialMap(JSFunction* fun); 659 MUST_USE_RESULT MaybeObject* AllocateInitialMap(JSFunction* fun);
661 660
662 // Allocates an empty code cache. 661 // Allocates an empty code cache.
663 MUST_USE_RESULT MaybeObject* AllocateCodeCache(); 662 MUST_USE_RESULT MaybeObject* AllocateCodeCache();
664 663
665 // Allocates a serialized scope info. 664 // Allocates a serialized scope info.
666 MUST_USE_RESULT MaybeObject* AllocateScopeInfo(int length); 665 MUST_USE_RESULT MaybeObject* AllocateScopeInfo(int length);
667 666
668 // Allocates an External object for v8's external API.
669 MUST_USE_RESULT MaybeObject* AllocateExternal(void* value);
670
671 // Allocates an empty PolymorphicCodeCache. 667 // Allocates an empty PolymorphicCodeCache.
672 MUST_USE_RESULT MaybeObject* AllocatePolymorphicCodeCache(); 668 MUST_USE_RESULT MaybeObject* AllocatePolymorphicCodeCache();
673 669
674 // Allocates a pre-tenured empty AccessorPair. 670 // Allocates a pre-tenured empty AccessorPair.
675 MUST_USE_RESULT MaybeObject* AllocateAccessorPair(); 671 MUST_USE_RESULT MaybeObject* AllocateAccessorPair();
676 672
677 // Allocates an empty TypeFeedbackInfo. 673 // Allocates an empty TypeFeedbackInfo.
678 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo(); 674 MUST_USE_RESULT MaybeObject* AllocateTypeFeedbackInfo();
679 675
680 // Allocates an AliasedArgumentsEntry. 676 // Allocates an AliasedArgumentsEntry.
(...skipping 2141 matching lines...) Expand 10 before | Expand all | Expand 10 after
2822 AssertNoAllocation no_alloc; // i.e. no gc allowed. 2818 AssertNoAllocation no_alloc; // i.e. no gc allowed.
2823 2819
2824 private: 2820 private:
2825 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2821 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2826 }; 2822 };
2827 #endif // DEBUG || LIVE_OBJECT_LIST 2823 #endif // DEBUG || LIVE_OBJECT_LIST
2828 2824
2829 } } // namespace v8::internal 2825 } } // namespace v8::internal
2830 2826
2831 #endif // V8_HEAP_H_ 2827 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698