Index: src/frames-inl.h |
diff --git a/src/frames-inl.h b/src/frames-inl.h |
index bf1db052953b05430633852b2396dd7cba27520e..af4d1b648b79209100b6a8de5e645704c51f2ace 100644 |
--- a/src/frames-inl.h |
+++ b/src/frames-inl.h |
@@ -183,7 +183,9 @@ inline JavaScriptFrame::JavaScriptFrame(StackFrameIteratorBase* iterator) |
Address JavaScriptFrame::GetParameterSlot(int index) const { |
int param_count = ComputeParametersCount(); |
- DCHECK(-1 <= index && index < param_count); |
+ DCHECK(-1 <= index && |
+ (index < param_count || |
+ param_count == SharedFunctionInfo::kDontAdaptArgumentsSentinel)); |
int parameter_offset = (param_count - index - 1) * kPointerSize; |
return caller_sp() + parameter_offset; |
} |
@@ -279,6 +281,14 @@ inline ConstructFrame::ConstructFrame(StackFrameIteratorBase* iterator) |
: InternalFrame(iterator) { |
} |
+inline BuiltinContinuationFrame::BuiltinContinuationFrame( |
+ StackFrameIteratorBase* iterator) |
+ : InternalFrame(iterator) {} |
+ |
+inline JavaScriptBuiltinContinuationFrame::JavaScriptBuiltinContinuationFrame( |
+ StackFrameIteratorBase* iterator) |
+ : JavaScriptFrame(iterator) {} |
+ |
inline JavaScriptFrameIterator::JavaScriptFrameIterator( |
Isolate* isolate) |
: iterator_(isolate) { |