Commit b7488507 authored by ahaas's avatar ahaas Committed by Commit bot

[turbofan] Remove the CallDescriptor parameter in the constructor of Frame.

The parameter is not used at the moment, so I removed it.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/1876833003

Cr-Commit-Position: refs/heads/master@{#35403}
parent 253a16f6
......@@ -12,7 +12,7 @@ namespace v8 {
namespace internal {
namespace compiler {
Frame::Frame(int fixed_frame_size_in_slots, const CallDescriptor* descriptor)
Frame::Frame(int fixed_frame_size_in_slots)
: frame_slot_count_(fixed_frame_size_in_slots),
callee_saved_slot_count_(0),
spill_slot_count_(0),
......
......@@ -78,8 +78,7 @@ class CallDescriptor;
//
class Frame : public ZoneObject {
public:
explicit Frame(int fixed_frame_size_in_slots,
const CallDescriptor* descriptor);
explicit Frame(int fixed_frame_size_in_slots);
inline int GetTotalFrameSlotCount() const { return frame_slot_count_; }
......
......@@ -289,7 +289,7 @@ class PipelineData {
if (descriptor != nullptr) {
fixed_frame_size = CalculateFixedFrameSize(descriptor);
}
frame_ = new (instruction_zone()) Frame(fixed_frame_size, descriptor);
frame_ = new (instruction_zone()) Frame(fixed_frame_size);
}
void InitializeRegisterAllocationData(const RegisterConfiguration* config,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment