Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 7ac058b359d0e9461fcfcf2bdad9000669c3bf69..5a730d37bcdacc038ef82b62c9584b4a71e95a9a 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -817,6 +817,32 @@ |
StoreFastElementStub(isolate, true, kind, STORE_AND_GROW_NO_TRANSITION) |
.GetCode(); |
} |
+} |
+ |
+ |
+void ArgumentsAccessStub::Generate(MacroAssembler* masm) { |
+ switch (type()) { |
+ case NEW_SLOPPY_FAST: |
+ GenerateNewSloppyFast(masm); |
+ break; |
+ case NEW_SLOPPY_SLOW: |
+ GenerateNewSloppySlow(masm); |
+ break; |
+ } |
+} |
+ |
+ |
+void ArgumentsAccessStub::PrintName(std::ostream& os) const { // NOLINT |
+ os << "ArgumentsAccessStub_"; |
+ switch (type()) { |
+ case NEW_SLOPPY_FAST: |
+ os << "NewSloppyFast"; |
+ break; |
+ case NEW_SLOPPY_SLOW: |
+ os << "NewSloppySlow"; |
+ break; |
+ } |
+ return; |
} |