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

Unified Diff: src/builtins/arm/builtins-arm.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/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 286df2eea793f370a964cde4388c808fad7e9a36..bd13968bc43c9e44853c5d3d27908d25319fb60b 100644
--- a/src/builtins/arm/builtins-arm.cc
+++ b/src/builtins/arm/builtins-arm.cc
@@ -294,12 +294,8 @@ void Builtins::Generate_StringConstructor(MacroAssembler* masm) {
// 3b. Convert symbol in r0 to a string.
__ bind(&symbol_descriptive_string);
- {
- __ Drop(r2);
- __ Drop(1);
- __ Push(r0);
- __ TailCallRuntime(Runtime::kSymbolDescriptiveString);
- }
+ __ ldr(r0, FieldMemOperand(r0, Symbol::kDescriptiveStringOffset));
+ // Fall through.
__ 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