Index: src/compiler/linkage.h |
diff --git a/src/compiler/linkage.h b/src/compiler/linkage.h |
index 5d89d0c6b3d2afbd5012a277e1688361dfe60d79..bda13de4b912b970376e1038bfd99a178f3eb377 100644 |
--- a/src/compiler/linkage.h |
+++ b/src/compiler/linkage.h |
@@ -23,6 +23,7 @@ namespace compiler { |
const RegList kNoCalleeSaved = 0; |
+class FrameAccessState; |
titzer
2015/11/24 17:45:56
I think you can drop this forward declaration now.
|
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(); } |
@@ -348,12 +353,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. |