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

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

Issue 1419823010: Implement flag and source getters on RegExp.prototype. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@rproto
Patch Set: new webkit expectations 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
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 V(false_string, "false") \ 243 V(false_string, "false") \
244 V(float32x4_string, "float32x4") \ 244 V(float32x4_string, "float32x4") \
245 V(Float32x4_string, "Float32x4") \ 245 V(Float32x4_string, "Float32x4") \
246 V(for_api_string, "for_api") \ 246 V(for_api_string, "for_api") \
247 V(for_string, "for") \ 247 V(for_string, "for") \
248 V(function_string, "function") \ 248 V(function_string, "function") \
249 V(Function_string, "Function") \ 249 V(Function_string, "Function") \
250 V(Generator_string, "Generator") \ 250 V(Generator_string, "Generator") \
251 V(get_string, "get") \ 251 V(get_string, "get") \
252 V(global_string, "global") \ 252 V(global_string, "global") \
253 V(ignore_case_string, "ignoreCase") \
254 V(illegal_access_string, "illegal access") \ 253 V(illegal_access_string, "illegal access") \
255 V(illegal_argument_string, "illegal argument") \ 254 V(illegal_argument_string, "illegal argument") \
256 V(index_string, "index") \ 255 V(index_string, "index") \
257 V(infinity_string, "Infinity") \ 256 V(infinity_string, "Infinity") \
258 V(input_string, "input") \ 257 V(input_string, "input") \
259 V(int16x8_string, "int16x8") \ 258 V(int16x8_string, "int16x8") \
260 V(Int16x8_string, "Int16x8") \ 259 V(Int16x8_string, "Int16x8") \
261 V(int32x4_string, "int32x4") \ 260 V(int32x4_string, "int32x4") \
262 V(Int32x4_string, "Int32x4") \ 261 V(Int32x4_string, "Int32x4") \
263 V(int8x16_string, "int8x16") \ 262 V(int8x16_string, "int8x16") \
264 V(Int8x16_string, "Int8x16") \ 263 V(Int8x16_string, "Int8x16") \
265 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ 264 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \
266 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ 265 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \
267 V(last_index_string, "lastIndex") \ 266 V(last_index_string, "lastIndex") \
268 V(length_string, "length") \ 267 V(length_string, "length") \
269 V(Map_string, "Map") \ 268 V(Map_string, "Map") \
270 V(minus_infinity_string, "-Infinity") \ 269 V(minus_infinity_string, "-Infinity") \
271 V(minus_zero_string, "-0") \ 270 V(minus_zero_string, "-0") \
272 V(multiline_string, "multiline") \
273 V(name_string, "name") \ 271 V(name_string, "name") \
274 V(nan_string, "NaN") \ 272 V(nan_string, "NaN") \
275 V(next_string, "next") \ 273 V(next_string, "next") \
276 V(null_string, "null") \ 274 V(null_string, "null") \
277 V(number_string, "number") \ 275 V(number_string, "number") \
278 V(Number_string, "Number") \ 276 V(Number_string, "Number") \
279 V(object_string, "object") \ 277 V(object_string, "object") \
280 V(Object_string, "Object") \ 278 V(Object_string, "Object") \
281 V(private_api_string, "private_api") \ 279 V(private_api_string, "private_api") \
282 V(proto_string, "__proto__") \ 280 V(proto_string, "__proto__") \
283 V(prototype_string, "prototype") \ 281 V(prototype_string, "prototype") \
284 V(query_colon_string, "(?:)") \ 282 V(query_colon_string, "(?:)") \
285 V(RegExp_string, "RegExp") \ 283 V(RegExp_string, "RegExp") \
286 V(set_string, "set") \ 284 V(set_string, "set") \
287 V(Set_string, "Set") \ 285 V(Set_string, "Set") \
288 V(source_mapping_url_string, "source_mapping_url") \ 286 V(source_mapping_url_string, "source_mapping_url") \
289 V(source_string, "source") \ 287 V(source_string, "source") \
290 V(source_url_string, "source_url") \ 288 V(source_url_string, "source_url") \
291 V(stack_string, "stack") \ 289 V(stack_string, "stack") \
292 V(sticky_string, "sticky") \
293 V(strict_compare_ic_string, "===") \ 290 V(strict_compare_ic_string, "===") \
294 V(string_string, "string") \ 291 V(string_string, "string") \
295 V(String_string, "String") \ 292 V(String_string, "String") \
296 V(symbol_string, "symbol") \ 293 V(symbol_string, "symbol") \
297 V(Symbol_string, "Symbol") \ 294 V(Symbol_string, "Symbol") \
298 V(this_string, "this") \ 295 V(this_string, "this") \
299 V(throw_string, "throw") \ 296 V(throw_string, "throw") \
300 V(toJSON_string, "toJSON") \ 297 V(toJSON_string, "toJSON") \
301 V(toString_string, "toString") \ 298 V(toString_string, "toString") \
302 V(true_string, "true") \ 299 V(true_string, "true") \
303 V(uint16x8_string, "uint16x8") \ 300 V(uint16x8_string, "uint16x8") \
304 V(Uint16x8_string, "Uint16x8") \ 301 V(Uint16x8_string, "Uint16x8") \
305 V(uint32x4_string, "uint32x4") \ 302 V(uint32x4_string, "uint32x4") \
306 V(Uint32x4_string, "Uint32x4") \ 303 V(Uint32x4_string, "Uint32x4") \
307 V(uint8x16_string, "uint8x16") \ 304 V(uint8x16_string, "uint8x16") \
308 V(Uint8x16_string, "Uint8x16") \ 305 V(Uint8x16_string, "Uint8x16") \
309 V(undefined_string, "undefined") \ 306 V(undefined_string, "undefined") \
310 V(unicode_string, "unicode") \
311 V(valueOf_string, "valueOf") \ 307 V(valueOf_string, "valueOf") \
312 V(value_string, "value") \ 308 V(value_string, "value") \
313 V(WeakMap_string, "WeakMap") \ 309 V(WeakMap_string, "WeakMap") \
314 V(WeakSet_string, "WeakSet") \ 310 V(WeakSet_string, "WeakSet") \
315 V(writable_string, "writable") 311 V(writable_string, "writable")
316 312
317 #define PRIVATE_SYMBOL_LIST(V) \ 313 #define PRIVATE_SYMBOL_LIST(V) \
318 V(array_iteration_kind_symbol) \ 314 V(array_iteration_kind_symbol) \
319 V(array_iterator_next_symbol) \ 315 V(array_iterator_next_symbol) \
320 V(array_iterator_object_symbol) \ 316 V(array_iterator_object_symbol) \
(...skipping 23 matching lines...) Expand all
344 V(observed_symbol) \ 340 V(observed_symbol) \
345 V(premonomorphic_symbol) \ 341 V(premonomorphic_symbol) \
346 V(promise_combined_deferred_symbol) \ 342 V(promise_combined_deferred_symbol) \
347 V(promise_debug_marker_symbol) \ 343 V(promise_debug_marker_symbol) \
348 V(promise_has_handler_symbol) \ 344 V(promise_has_handler_symbol) \
349 V(promise_on_resolve_symbol) \ 345 V(promise_on_resolve_symbol) \
350 V(promise_on_reject_symbol) \ 346 V(promise_on_reject_symbol) \
351 V(promise_raw_symbol) \ 347 V(promise_raw_symbol) \
352 V(promise_status_symbol) \ 348 V(promise_status_symbol) \
353 V(promise_value_symbol) \ 349 V(promise_value_symbol) \
350 V(regexp_flags_symbol) \
351 V(regexp_source_symbol) \
354 V(sealed_symbol) \ 352 V(sealed_symbol) \
355 V(stack_trace_symbol) \ 353 V(stack_trace_symbol) \
356 V(string_iterator_iterated_string_symbol) \ 354 V(string_iterator_iterated_string_symbol) \
357 V(string_iterator_next_index_symbol) \ 355 V(string_iterator_next_index_symbol) \
358 V(uninitialized_symbol) 356 V(uninitialized_symbol)
359 357
360 #define PUBLIC_SYMBOL_LIST(V) \ 358 #define PUBLIC_SYMBOL_LIST(V) \
361 V(has_instance_symbol, Symbol.hasInstance) \ 359 V(has_instance_symbol, Symbol.hasInstance) \
362 V(is_regexp_symbol, Symbol.isRegExp) \
363 V(iterator_symbol, Symbol.iterator) \ 360 V(iterator_symbol, Symbol.iterator) \
364 V(match_symbol, Symbol.match) \ 361 V(match_symbol, Symbol.match) \
365 V(replace_symbol, Symbol.replace) \ 362 V(replace_symbol, Symbol.replace) \
366 V(search_symbol, Symbol.search) \ 363 V(search_symbol, Symbol.search) \
367 V(split_symbol, Symbol.split) \ 364 V(split_symbol, Symbol.split) \
368 V(to_primitive_symbol, Symbol.toPrimitive) \ 365 V(to_primitive_symbol, Symbol.toPrimitive) \
369 V(unscopables_symbol, Symbol.unscopables) 366 V(unscopables_symbol, Symbol.unscopables)
370 367
371 // Well-Known Symbols are "Public" symbols, which have a bit set which causes 368 // Well-Known Symbols are "Public" symbols, which have a bit set which causes
372 // them to produce an undefined value when a load results in a failed access 369 // them to produce an undefined value when a load results in a failed access
(...skipping 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after
2725 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2722 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2726 2723
2727 private: 2724 private:
2728 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2725 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2729 }; 2726 };
2730 #endif // DEBUG 2727 #endif // DEBUG
2731 } // namespace internal 2728 } // namespace internal
2732 } // namespace v8 2729 } // namespace v8
2733 2730
2734 #endif // V8_HEAP_HEAP_H_ 2731 #endif // V8_HEAP_HEAP_H_
OLDNEW
« src/bootstrapper.cc ('K') | « src/bootstrapper.cc ('k') | src/js/harmony-regexp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698