Index: src/compiler/linkage.h |
diff --git a/src/compiler/linkage.h b/src/compiler/linkage.h |
index 5d89d0c6b3d2afbd5012a277e1688361dfe60d79..892baa9de70c659c64f273d3e430b2b86e26a537 100644 |
--- a/src/compiler/linkage.h |
+++ b/src/compiler/linkage.h |
@@ -23,6 +23,7 @@ namespace compiler { |
const RegList kNoCalleeSaved = 0; |
+class FrameAccessState; |
class Node; |
class OsrHelper; |
@@ -188,6 +189,10 @@ class CallDescriptor final : public ZoneObject { |
// Returns {true} if this descriptor is a call to a JSFunction. |
bool IsJSFunctionCall() const { return kind_ == kCallJSFunction; } |
+ bool RequiresFrameAsIncoming() const { |
+ return IsCFunctionCall() || IsJSFunctionCall(); |
+ } |
+ |
// The number of return values from this call. |
size_t ReturnCount() const { return machine_sig_->return_count(); } |
@@ -352,7 +357,8 @@ class Linkage : public ZoneObject { |
// calling convention and the specific frame layout, and may thus be |
// architecture-specific. Negative spill slots indicate arguments on the |
// caller's frame. |
- FrameOffset GetFrameOffset(int spill_slot, Frame* frame) const; |
+ FrameOffset GetFrameOffset(int spill_slot, |
+ FrameAccessState* frame_access_state) const; |
static int FrameStateInputCount(Runtime::FunctionId function); |