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

Side by Side Diff: src/heap.h

Issue 15681004: Revert "Make Object.freeze fast" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 months 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 | « include/v8.h ('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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 V(FixedArray, natives_source_cache, NativesSourceCache) \ 174 V(FixedArray, natives_source_cache, NativesSourceCache) \
175 V(Object, last_script_id, LastScriptId) \ 175 V(Object, last_script_id, LastScriptId) \
176 V(Script, empty_script, EmptyScript) \ 176 V(Script, empty_script, EmptyScript) \
177 V(Smi, real_stack_limit, RealStackLimit) \ 177 V(Smi, real_stack_limit, RealStackLimit) \
178 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ 178 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \
179 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ 179 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \
180 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ 180 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \
181 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ 181 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \
182 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \ 182 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \
183 V(JSObject, observation_state, ObservationState) \ 183 V(JSObject, observation_state, ObservationState) \
184 V(Map, external_map, ExternalMap) \ 184 V(Map, external_map, ExternalMap)
185 V(Symbol, frozen_symbol, FrozenSymbol) \
186 V(SeededNumberDictionary, empty_slow_element_dictionary, \
187 EmptySlowElementDictionary)
188 185
189 #define ROOT_LIST(V) \ 186 #define ROOT_LIST(V) \
190 STRONG_ROOT_LIST(V) \ 187 STRONG_ROOT_LIST(V) \
191 V(StringTable, string_table, StringTable) 188 V(StringTable, string_table, StringTable)
192 189
193 #define INTERNALIZED_STRING_LIST(V) \ 190 #define INTERNALIZED_STRING_LIST(V) \
194 V(Array_string, "Array") \ 191 V(Array_string, "Array") \
195 V(Object_string, "Object") \ 192 V(Object_string, "Object") \
196 V(proto_string, "__proto__") \ 193 V(proto_string, "__proto__") \
197 V(StringImpl_string, "StringImpl") \ 194 V(StringImpl_string, "StringImpl") \
(...skipping 2912 matching lines...) Expand 10 before | Expand all | Expand 10 after
3110 AssertNoAllocation no_alloc; // i.e. no gc allowed. 3107 AssertNoAllocation no_alloc; // i.e. no gc allowed.
3111 3108
3112 private: 3109 private:
3113 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3110 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3114 }; 3111 };
3115 #endif // DEBUG 3112 #endif // DEBUG
3116 3113
3117 } } // namespace v8::internal 3114 } } // namespace v8::internal
3118 3115
3119 #endif // V8_HEAP_H_ 3116 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698