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

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

Issue 1509533003: Rewrite Object.prototype.toString in C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase, add back experimental flag Created 5 years 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/builtins.cc ('k') | src/js/array.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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ 275 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \
276 V(last_index_string, "lastIndex") \ 276 V(last_index_string, "lastIndex") \
277 V(length_string, "length") \ 277 V(length_string, "length") \
278 V(Map_string, "Map") \ 278 V(Map_string, "Map") \
279 V(minus_infinity_string, "-Infinity") \ 279 V(minus_infinity_string, "-Infinity") \
280 V(minus_zero_string, "-0") \ 280 V(minus_zero_string, "-0") \
281 V(name_string, "name") \ 281 V(name_string, "name") \
282 V(nan_string, "NaN") \ 282 V(nan_string, "NaN") \
283 V(next_string, "next") \ 283 V(next_string, "next") \
284 V(null_string, "null") \ 284 V(null_string, "null") \
285 V(null_to_string, "[object Null]") \
285 V(number_string, "number") \ 286 V(number_string, "number") \
286 V(Number_string, "Number") \ 287 V(Number_string, "Number") \
287 V(object_string, "object") \ 288 V(object_string, "object") \
288 V(Object_string, "Object") \ 289 V(Object_string, "Object") \
289 V(ownKeys_string, "ownKeys") \ 290 V(ownKeys_string, "ownKeys") \
290 V(preventExtensions_string, "preventExtensions") \ 291 V(preventExtensions_string, "preventExtensions") \
291 V(private_api_string, "private_api") \ 292 V(private_api_string, "private_api") \
292 V(Promise_string, "Promise") \ 293 V(Promise_string, "Promise") \
293 V(proto_string, "__proto__") \ 294 V(proto_string, "__proto__") \
294 V(prototype_string, "prototype") \ 295 V(prototype_string, "prototype") \
(...skipping 17 matching lines...) Expand all
312 V(toJSON_string, "toJSON") \ 313 V(toJSON_string, "toJSON") \
313 V(toString_string, "toString") \ 314 V(toString_string, "toString") \
314 V(true_string, "true") \ 315 V(true_string, "true") \
315 V(uint16x8_string, "uint16x8") \ 316 V(uint16x8_string, "uint16x8") \
316 V(Uint16x8_string, "Uint16x8") \ 317 V(Uint16x8_string, "Uint16x8") \
317 V(uint32x4_string, "uint32x4") \ 318 V(uint32x4_string, "uint32x4") \
318 V(Uint32x4_string, "Uint32x4") \ 319 V(Uint32x4_string, "Uint32x4") \
319 V(uint8x16_string, "uint8x16") \ 320 V(uint8x16_string, "uint8x16") \
320 V(Uint8x16_string, "Uint8x16") \ 321 V(Uint8x16_string, "Uint8x16") \
321 V(undefined_string, "undefined") \ 322 V(undefined_string, "undefined") \
323 V(undefined_to_string, "[object Undefined]") \
322 V(valueOf_string, "valueOf") \ 324 V(valueOf_string, "valueOf") \
323 V(value_string, "value") \ 325 V(value_string, "value") \
324 V(WeakMap_string, "WeakMap") \ 326 V(WeakMap_string, "WeakMap") \
325 V(WeakSet_string, "WeakSet") \ 327 V(WeakSet_string, "WeakSet") \
326 V(writable_string, "writable") 328 V(writable_string, "writable")
327 329
328 #define PRIVATE_SYMBOL_LIST(V) \ 330 #define PRIVATE_SYMBOL_LIST(V) \
329 V(array_iteration_kind_symbol) \ 331 V(array_iteration_kind_symbol) \
330 V(array_iterator_next_symbol) \ 332 V(array_iterator_next_symbol) \
331 V(array_iterator_object_symbol) \ 333 V(array_iterator_object_symbol) \
(...skipping 2407 matching lines...) Expand 10 before | Expand all | Expand 10 after
2739 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2741 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2740 2742
2741 private: 2743 private:
2742 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2744 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2743 }; 2745 };
2744 #endif // DEBUG 2746 #endif // DEBUG
2745 } // namespace internal 2747 } // namespace internal
2746 } // namespace v8 2748 } // namespace v8
2747 2749
2748 #endif // V8_HEAP_HEAP_H_ 2750 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/js/array.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698