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

Unified Diff: src/code-stubs.cc

Issue 2302923002: [stubs] Port ToName stub to TurboFan. (Closed)
Patch Set: Create ToName helper and inline Interpreter::DoToName Created 4 years, 3 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
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index e61b621b02ab930760c28777099b75caa2120d4b..cc3b03d3166e7201324b9e4121444536a6132bbc 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -5087,9 +5087,7 @@ compiler::Node* ForInFilterStub::Generate(CodeStubAssembler* assembler,
assembler->Bind(&return_to_name);
{
- // TODO(cbruni): inline ToName here.
- Callable callable = CodeFactory::ToName(assembler->isolate());
- var_result.Bind(assembler->CallStub(callable, context, key));
+ var_result.Bind(assembler->ToName(context, key));
assembler->Goto(&end);
}
« src/code-stub-assembler.cc ('K') | « src/code-stubs.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698