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

Unified Diff: src/code-stubs.cc

Issue 816913003: Implement ES6 rest parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo in ARM port Created 5 years, 10 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/code-stubs.h ('k') | src/compiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index b2178fbfd1beb32360214601872c2ea948c292f2..6c68271bcda53691b0a8a902f432829ec7785743 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -790,6 +790,11 @@ void ArgumentsAccessStub::Generate(MacroAssembler* masm) {
}
+void RestParamAccessStub::Generate(MacroAssembler* masm) {
+ GenerateNew(masm);
+}
+
+
void ArgumentsAccessStub::PrintName(std::ostream& os) const { // NOLINT
os << "ArgumentsAccessStub_";
switch (type()) {
@@ -810,6 +815,11 @@ void ArgumentsAccessStub::PrintName(std::ostream& os) const { // NOLINT
}
+void RestParamAccessStub::PrintName(std::ostream& os) const { // NOLINT
+ os << "RestParamAccessStub_";
+}
+
+
void CallFunctionStub::PrintName(std::ostream& os) const { // NOLINT
os << "CallFunctionStub_Args" << argc();
}
« no previous file with comments | « src/code-stubs.h ('k') | src/compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698