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

Side by Side Diff: src/heap/heap.h

Issue 1417063011: [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removing unreachable code Created 5 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
« no previous file with comments | « src/factory.cc ('k') | src/js/messages.js » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HEAP_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ 202 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \
203 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ 203 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \
204 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) 204 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset)
205 205
206 206
207 #define ROOT_LIST(V) \ 207 #define ROOT_LIST(V) \
208 STRONG_ROOT_LIST(V) \ 208 STRONG_ROOT_LIST(V) \
209 SMI_ROOT_LIST(V) \ 209 SMI_ROOT_LIST(V) \
210 V(StringTable, string_table, StringTable) 210 V(StringTable, string_table, StringTable)
211 211
212 #define INTERNALIZED_STRING_LIST(V) \ 212 #define INTERNALIZED_STRING_LIST(V) \
213 V(anonymous_string, "anonymous") \ 213 V(anonymous_string, "anonymous") \
214 V(arguments_string, "arguments") \ 214 V(apply_string, "apply") \
215 V(Arguments_string, "Arguments") \ 215 V(arguments_string, "arguments") \
216 V(Array_string, "Array") \ 216 V(Arguments_string, "Arguments") \
217 V(bool16x8_string, "bool16x8") \ 217 V(Array_string, "Array") \
218 V(Bool16x8_string, "Bool16x8") \ 218 V(bool16x8_string, "bool16x8") \
219 V(bool32x4_string, "bool32x4") \ 219 V(Bool16x8_string, "Bool16x8") \
220 V(Bool32x4_string, "Bool32x4") \ 220 V(bool32x4_string, "bool32x4") \
221 V(bool8x16_string, "bool8x16") \ 221 V(Bool32x4_string, "Bool32x4") \
222 V(Bool8x16_string, "Bool8x16") \ 222 V(bool8x16_string, "bool8x16") \
223 V(boolean_string, "boolean") \ 223 V(Bool8x16_string, "Bool8x16") \
224 V(Boolean_string, "Boolean") \ 224 V(boolean_string, "boolean") \
225 V(byte_length_string, "byteLength") \ 225 V(Boolean_string, "Boolean") \
226 V(byte_offset_string, "byteOffset") \ 226 V(byte_length_string, "byteLength") \
227 V(callee_string, "callee") \ 227 V(byte_offset_string, "byteOffset") \
228 V(caller_string, "caller") \ 228 V(callee_string, "callee") \
229 V(cell_value_string, "%cell_value") \ 229 V(caller_string, "caller") \
230 V(char_at_string, "CharAt") \ 230 V(cell_value_string, "%cell_value") \
231 V(closure_string, "(closure)") \ 231 V(char_at_string, "CharAt") \
232 V(compare_ic_string, "==") \ 232 V(closure_string, "(closure)") \
233 V(configurable_string, "configurable") \ 233 V(compare_ic_string, "==") \
234 V(constructor_string, "constructor") \ 234 V(configurable_string, "configurable") \
235 V(Date_string, "Date") \ 235 V(constructor_string, "constructor") \
236 V(default_string, "default") \ 236 V(construct_string, "construct") \
237 V(done_string, "done") \ 237 V(Date_string, "Date") \
238 V(dot_result_string, ".result") \ 238 V(default_string, "default") \
239 V(dot_string, ".") \ 239 V(defineProperty_string, "defineProperty") \
240 V(enumerable_string, "enumerable") \ 240 V(deleteProperty_string, "deleteProperty") \
241 V(Error_string, "Error") \ 241 V(done_string, "done") \
242 V(eval_string, "eval") \ 242 V(dot_result_string, ".result") \
243 V(false_string, "false") \ 243 V(dot_string, ".") \
244 V(float32x4_string, "float32x4") \ 244 V(enumerable_string, "enumerable") \
245 V(Float32x4_string, "Float32x4") \ 245 V(enumerate_string, "enumerate") \
246 V(for_api_string, "for_api") \ 246 V(Error_string, "Error") \
247 V(for_string, "for") \ 247 V(eval_string, "eval") \
248 V(function_string, "function") \ 248 V(false_string, "false") \
249 V(Function_string, "Function") \ 249 V(float32x4_string, "float32x4") \
250 V(Generator_string, "Generator") \ 250 V(Float32x4_string, "Float32x4") \
251 V(get_string, "get") \ 251 V(for_api_string, "for_api") \
252 V(global_string, "global") \ 252 V(for_string, "for") \
253 V(illegal_access_string, "illegal access") \ 253 V(function_string, "function") \
254 V(illegal_argument_string, "illegal argument") \ 254 V(Function_string, "Function") \
255 V(index_string, "index") \ 255 V(Generator_string, "Generator") \
256 V(infinity_string, "Infinity") \ 256 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \
257 V(input_string, "input") \ 257 V(getPrototypeOf_string, "getPrototypeOf") \
258 V(int16x8_string, "int16x8") \ 258 V(get_string, "get") \
259 V(Int16x8_string, "Int16x8") \ 259 V(global_string, "global") \
260 V(int32x4_string, "int32x4") \ 260 V(has_string, "has") \
261 V(Int32x4_string, "Int32x4") \ 261 V(illegal_access_string, "illegal access") \
262 V(int8x16_string, "int8x16") \ 262 V(illegal_argument_string, "illegal argument") \
263 V(Int8x16_string, "Int8x16") \ 263 V(index_string, "index") \
264 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ 264 V(infinity_string, "Infinity") \
265 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ 265 V(input_string, "input") \
266 V(last_index_string, "lastIndex") \ 266 V(int16x8_string, "int16x8") \
267 V(length_string, "length") \ 267 V(Int16x8_string, "Int16x8") \
268 V(Map_string, "Map") \ 268 V(int32x4_string, "int32x4") \
269 V(minus_infinity_string, "-Infinity") \ 269 V(Int32x4_string, "Int32x4") \
270 V(minus_zero_string, "-0") \ 270 V(int8x16_string, "int8x16") \
271 V(name_string, "name") \ 271 V(Int8x16_string, "Int8x16") \
272 V(nan_string, "NaN") \ 272 V(isExtensible_string, "isExtensible") \
273 V(next_string, "next") \ 273 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \
274 V(null_string, "null") \ 274 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \
275 V(number_string, "number") \ 275 V(last_index_string, "lastIndex") \
276 V(Number_string, "Number") \ 276 V(length_string, "length") \
277 V(object_string, "object") \ 277 V(Map_string, "Map") \
278 V(Object_string, "Object") \ 278 V(minus_infinity_string, "-Infinity") \
279 V(private_api_string, "private_api") \ 279 V(minus_zero_string, "-0") \
280 V(proto_string, "__proto__") \ 280 V(name_string, "name") \
281 V(prototype_string, "prototype") \ 281 V(nan_string, "NaN") \
282 V(query_colon_string, "(?:)") \ 282 V(next_string, "next") \
283 V(RegExp_string, "RegExp") \ 283 V(null_string, "null") \
284 V(set_string, "set") \ 284 V(number_string, "number") \
285 V(Set_string, "Set") \ 285 V(Number_string, "Number") \
286 V(source_mapping_url_string, "source_mapping_url") \ 286 V(object_string, "object") \
287 V(source_string, "source") \ 287 V(Object_string, "Object") \
288 V(source_url_string, "source_url") \ 288 V(ownKeys_string, "ownKeys") \
289 V(stack_string, "stack") \ 289 V(preventExtensions_string, "preventExtensions") \
290 V(strict_compare_ic_string, "===") \ 290 V(private_api_string, "private_api") \
291 V(string_string, "string") \ 291 V(proto_string, "__proto__") \
292 V(String_string, "String") \ 292 V(prototype_string, "prototype") \
293 V(symbol_string, "symbol") \ 293 V(query_colon_string, "(?:)") \
294 V(Symbol_string, "Symbol") \ 294 V(RegExp_string, "RegExp") \
295 V(this_string, "this") \ 295 V(setPrototypeOf_string, "setPrototypeOf") \
296 V(throw_string, "throw") \ 296 V(set_string, "set") \
297 V(toJSON_string, "toJSON") \ 297 V(Set_string, "Set") \
298 V(toString_string, "toString") \ 298 V(source_mapping_url_string, "source_mapping_url") \
299 V(true_string, "true") \ 299 V(source_string, "source") \
300 V(uint16x8_string, "uint16x8") \ 300 V(source_url_string, "source_url") \
301 V(Uint16x8_string, "Uint16x8") \ 301 V(stack_string, "stack") \
302 V(uint32x4_string, "uint32x4") \ 302 V(strict_compare_ic_string, "===") \
303 V(Uint32x4_string, "Uint32x4") \ 303 V(string_string, "string") \
304 V(uint8x16_string, "uint8x16") \ 304 V(String_string, "String") \
305 V(Uint8x16_string, "Uint8x16") \ 305 V(symbol_string, "symbol") \
306 V(undefined_string, "undefined") \ 306 V(Symbol_string, "Symbol") \
307 V(valueOf_string, "valueOf") \ 307 V(this_string, "this") \
308 V(value_string, "value") \ 308 V(throw_string, "throw") \
309 V(WeakMap_string, "WeakMap") \ 309 V(toJSON_string, "toJSON") \
310 V(WeakSet_string, "WeakSet") \ 310 V(toString_string, "toString") \
311 V(true_string, "true") \
312 V(uint16x8_string, "uint16x8") \
313 V(Uint16x8_string, "Uint16x8") \
314 V(uint32x4_string, "uint32x4") \
315 V(Uint32x4_string, "Uint32x4") \
316 V(uint8x16_string, "uint8x16") \
317 V(Uint8x16_string, "Uint8x16") \
318 V(undefined_string, "undefined") \
319 V(valueOf_string, "valueOf") \
320 V(value_string, "value") \
321 V(WeakMap_string, "WeakMap") \
322 V(WeakSet_string, "WeakSet") \
311 V(writable_string, "writable") 323 V(writable_string, "writable")
312 324
313 #define PRIVATE_SYMBOL_LIST(V) \ 325 #define PRIVATE_SYMBOL_LIST(V) \
314 V(array_iteration_kind_symbol) \ 326 V(array_iteration_kind_symbol) \
315 V(array_iterator_next_symbol) \ 327 V(array_iterator_next_symbol) \
316 V(array_iterator_object_symbol) \ 328 V(array_iterator_object_symbol) \
317 V(call_site_function_symbol) \ 329 V(call_site_function_symbol) \
318 V(call_site_position_symbol) \ 330 V(call_site_position_symbol) \
319 V(call_site_receiver_symbol) \ 331 V(call_site_receiver_symbol) \
320 V(call_site_strict_symbol) \ 332 V(call_site_strict_symbol) \
(...skipping 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after
2713 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2725 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2714 2726
2715 private: 2727 private:
2716 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2728 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2717 }; 2729 };
2718 #endif // DEBUG 2730 #endif // DEBUG
2719 } // namespace internal 2731 } // namespace internal
2720 } // namespace v8 2732 } // namespace v8
2721 2733
2722 #endif // V8_HEAP_HEAP_H_ 2734 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/js/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698