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 { ...@@ -12,7 +12,7 @@ namespace v8 {
namespace internal { namespace internal {
namespace compiler { 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), : frame_slot_count_(fixed_frame_size_in_slots),
callee_saved_slot_count_(0), callee_saved_slot_count_(0),
spill_slot_count_(0), spill_slot_count_(0),
......
...@@ -78,8 +78,7 @@ class CallDescriptor; ...@@ -78,8 +78,7 @@ class CallDescriptor;
// //
class Frame : public ZoneObject { class Frame : public ZoneObject {
public: public:
explicit Frame(int fixed_frame_size_in_slots, explicit Frame(int fixed_frame_size_in_slots);
const CallDescriptor* descriptor);
inline int GetTotalFrameSlotCount() const { return frame_slot_count_; } inline int GetTotalFrameSlotCount() const { return frame_slot_count_; }
......
...@@ -289,7 +289,7 @@ class PipelineData { ...@@ -289,7 +289,7 @@ class PipelineData {
if (descriptor != nullptr) { if (descriptor != nullptr) {
fixed_frame_size = CalculateFixedFrameSize(descriptor); 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, 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