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

Unified Diff: src/builtins/arm64/builtins-arm64.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/arm/builtins-arm.cc ('k') | src/builtins/builtins-symbol.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/arm64/builtins-arm64.cc
diff --git a/src/builtins/arm64/builtins-arm64.cc b/src/builtins/arm64/builtins-arm64.cc
index 0e286fca696de390e5cfe13aac000699de4b17d7..7e96dc4fb3658f52886ad35af4050a7d753008cf 100644
--- a/src/builtins/arm64/builtins-arm64.cc
+++ b/src/builtins/arm64/builtins-arm64.cc
@@ -298,8 +298,12 @@
// 3b. Convert symbol in x0 to a string.
__ Bind(&symbol_descriptive_string);
- __ Ldr(x0, FieldMemOperand(x0, Symbol::kDescriptiveStringOffset));
- // Fall through.
+ {
+ __ Drop(x2);
+ __ Drop(1);
+ __ Push(x0);
+ __ TailCallRuntime(Runtime::kSymbolDescriptiveString);
+ }
__ bind(&drop_frame_and_ret);
{
« no previous file with comments | « src/builtins/arm/builtins-arm.cc ('k') | src/builtins/builtins-symbol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698