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

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

Powered by Google App Engine
This is Rietveld 408576698