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

Unified Diff: src/builtins/mips/builtins-mips.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/builtins/ia32/builtins-ia32.cc ('k') | src/builtins/mips64/builtins-mips64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/mips/builtins-mips.cc
diff --git a/src/builtins/mips/builtins-mips.cc b/src/builtins/mips/builtins-mips.cc
index 24fe271cb346d02bb131e52d391a5456c5ed8c75..dd19b2383cf0a41caedc90224aecd0944fdc6109 100644
--- a/src/builtins/mips/builtins-mips.cc
+++ b/src/builtins/mips/builtins-mips.cc
@@ -298,12 +298,8 @@ void Builtins::Generate_StringConstructor(MacroAssembler* masm) {
// 3b. Convert symbol in a0 to a string.
__ bind(&symbol_descriptive_string);
- {
- __ Lsa(sp, sp, t0, kPointerSizeLog2);
- __ Drop(1);
- __ Push(a0);
- __ TailCallRuntime(Runtime::kSymbolDescriptiveString);
- }
+ __ lw(v0, FieldMemOperand(a0, Symbol::kDescriptiveStringOffset));
+ // Fall through.
__ bind(&drop_frame_and_ret);
{
« no previous file with comments | « src/builtins/ia32/builtins-ia32.cc ('k') | src/builtins/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698