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

Unified Diff: src/objects-debug.cc

Issue 2900703002: [es2015] Precompute the descriptive string for symbols. (Closed)
Patch Set: Address feedback. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 8bab9289d671f464b7db4d1f8842c23e14c0565b..4a52ea6f75ef4f7278a30534a58183bcd73a93e9 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -275,6 +275,7 @@ void Symbol::SymbolVerify() {
CHECK(HasHashCode());
CHECK(Hash() > 0u);
CHECK(name()->IsUndefined(GetIsolate()) || name()->IsString());
+ CHECK(descriptive_string()->IsString());
}
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698