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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins.cc ('k') | src/js/array.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 2ef0086b99104963c424030160c57ea27aaddf7c..28d7e2a5a4629de6ac562ad6e9b18cd47c960316 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -282,6 +282,7 @@ namespace internal {
V(nan_string, "NaN") \
V(next_string, "next") \
V(null_string, "null") \
+ V(null_to_string, "[object Null]") \
V(number_string, "number") \
V(Number_string, "Number") \
V(object_string, "object") \
@@ -319,6 +320,7 @@ namespace internal {
V(uint8x16_string, "uint8x16") \
V(Uint8x16_string, "Uint8x16") \
V(undefined_string, "undefined") \
+ V(undefined_to_string, "[object Undefined]") \
V(valueOf_string, "valueOf") \
V(value_string, "value") \
V(WeakMap_string, "WeakMap") \
« 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