Commit 0215b572 authored by Clemens Backes's avatar Clemens Backes Committed by Commit Bot

[wasm][debug] Remove dead parameter

Minor cleanup before starting to refactor the debug side table.

R=thibaudm@chromium.org

Bug: chromium:1172299
Change-Id: I507cb297e66954488194a346aac31664a34a20f8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2659260Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72460}
parent e76dc8c9
......@@ -187,11 +187,10 @@ class DebugSideTableBuilder {
};
// Adds a new entry, and returns a pointer to a builder for modifying that
// entry ({stack_height} includes {num_locals}).
EntryBuilder* NewEntry(int pc_offset, int num_locals, int stack_height,
// entry.
EntryBuilder* NewEntry(int pc_offset, int stack_height,
LiftoffAssembler::VarState* stack_state,
AssumeSpilling assume_spilling) {
DCHECK_LE(num_locals, stack_height);
// Record stack types.
std::vector<DebugSideTable::Entry::Value> values(stack_height);
for (int i = 0; i < stack_height; ++i) {
......@@ -2748,8 +2747,8 @@ class LiftoffCompiler {
if (V8_LIKELY(!debug_sidetable_builder_)) return nullptr;
int stack_height = static_cast<int>(__ cache_state()->stack_height());
return debug_sidetable_builder_->NewEntry(
__ pc_offset(), __ num_locals(), stack_height,
__ cache_state()->stack_state.begin(), assume_spilling);
__ pc_offset(), stack_height, __ cache_state()->stack_state.begin(),
assume_spilling);
}
enum CallKind : bool { kReturnCall = true, kNoReturnCall = false };
......
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