Index: src/compiler/linkage.h |
diff --git a/src/compiler/linkage.h b/src/compiler/linkage.h |
index 5d89d0c6b3d2afbd5012a277e1688361dfe60d79..578d99f5314d977ce21ee150780b3bb6b01fd19a 100644 |
--- a/src/compiler/linkage.h |
+++ b/src/compiler/linkage.h |
@@ -188,6 +188,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(); } |
@@ -348,12 +352,6 @@ class Linkage : public ZoneObject { |
bool ParameterHasSecondaryLocation(int index) const; |
LinkageLocation GetParameterSecondaryLocation(int index) const; |
- // Get the frame offset for a given spill slot. The location depends on the |
- // 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; |
- |
static int FrameStateInputCount(Runtime::FunctionId function); |
// Get the location where an incoming OSR value is stored. |