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

Unified Diff: src/builtins/builtins-symbol-gen.cc

Issue 2903533002: Revert of [es2015] Precompute the descriptive string for symbols. (Closed)
Patch Set: 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/builtins/builtins-symbol.cc ('k') | src/builtins/ia32/builtins-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-symbol-gen.cc
diff --git a/src/builtins/builtins-symbol-gen.cc b/src/builtins/builtins-symbol-gen.cc
index 6c5643e1f672cce82cc78c27c0569222bf7e5dce..4015a2dcbab0fad2ea88faa54d1bb8471a09e4b4 100644
--- a/src/builtins/builtins-symbol-gen.cc
+++ b/src/builtins/builtins-symbol-gen.cc
@@ -29,7 +29,7 @@
Node* value = ToThisValue(context, receiver, PrimitiveType::kSymbol,
"Symbol.prototype.toString");
- Node* result = LoadObjectField(value, Symbol::kDescriptiveStringOffset);
+ Node* result = CallRuntime(Runtime::kSymbolDescriptiveString, context, value);
Return(result);
}
« no previous file with comments | « src/builtins/builtins-symbol.cc ('k') | src/builtins/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698