Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 3b60fb59fa230537268533c6813d4c7cbe0575ae..0a4d0dc09199b08edf897bb84ccf0e2e68aacb29 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -692,6 +692,11 @@ void OptimizedFrame::Iterate(ObjectVisitor* v) const { |
} |
+void JavaScriptFrame::SetParameterValue(int index, Object* value) const { |
+ Memory::Object_at(GetParameterSlot(index)) = value; |
+} |
+ |
+ |
bool JavaScriptFrame::IsConstructor() const { |
Address fp = caller_fp(); |
if (has_adapted_arguments()) { |