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

Side by Side Diff: src/heap.h

Issue 18221006: Add map transition for observed objects (Closed) Base URL: https://github.com/v8/v8.git@bleeding_edge
Patch Set: better check Created 7 years, 5 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
« 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 V(Smi, real_stack_limit, RealStackLimit) \ 180 V(Smi, real_stack_limit, RealStackLimit) \
181 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ 181 V(NameDictionary, intrinsic_function_names, IntrinsicFunctionNames) \
182 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ 182 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \
183 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ 183 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \
184 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ 184 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \
185 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \ 185 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) \
186 V(JSObject, observation_state, ObservationState) \ 186 V(JSObject, observation_state, ObservationState) \
187 V(Map, external_map, ExternalMap) \ 187 V(Map, external_map, ExternalMap) \
188 V(Symbol, frozen_symbol, FrozenSymbol) \ 188 V(Symbol, frozen_symbol, FrozenSymbol) \
189 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 189 V(SeededNumberDictionary, empty_slow_element_dictionary, \
190 EmptySlowElementDictionary) 190 EmptySlowElementDictionary) \
191 V(Symbol, observed_symbol, ObservedSymbol)
191 192
192 #define ROOT_LIST(V) \ 193 #define ROOT_LIST(V) \
193 STRONG_ROOT_LIST(V) \ 194 STRONG_ROOT_LIST(V) \
194 V(StringTable, string_table, StringTable) 195 V(StringTable, string_table, StringTable)
195 196
196 #define INTERNALIZED_STRING_LIST(V) \ 197 #define INTERNALIZED_STRING_LIST(V) \
197 V(Array_string, "Array") \ 198 V(Array_string, "Array") \
198 V(Object_string, "Object") \ 199 V(Object_string, "Object") \
199 V(proto_string, "__proto__") \ 200 V(proto_string, "__proto__") \
200 V(StringImpl_string, "StringImpl") \ 201 V(StringImpl_string, "StringImpl") \
(...skipping 2885 matching lines...) Expand 10 before | Expand all | Expand 10 after
3086 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3087 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3087 3088
3088 private: 3089 private:
3089 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3090 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3090 }; 3091 };
3091 #endif // DEBUG 3092 #endif // DEBUG
3092 3093
3093 } } // namespace v8::internal 3094 } } // namespace v8::internal
3094 3095
3095 #endif // V8_HEAP_H_ 3096 #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