Commit 45e152a6 authored by Andreas Haas's avatar Andreas Haas Committed by Commit Bot

[wasm] Remove unused parameter from InitializeTables

R=clemensh@chromium.org

Change-Id: I7c7bc0293ad093853d945fb18d7e5cb5bf54c3ec
Reviewed-on: https://chromium-review.googlesource.com/464868
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#44508}
parent cc75535d
......@@ -1249,7 +1249,7 @@ class InstantiationHelper {
// Set up the indirect function tables for the new instance.
//--------------------------------------------------------------------------
if (function_table_count > 0)
InitializeTables(code_table, instance, &code_specialization);
InitializeTables(instance, &code_specialization);
//--------------------------------------------------------------------------
// Set up the memory for the new instance.
......@@ -2054,8 +2054,7 @@ class InstantiationHelper {
}
}
void InitializeTables(Handle<FixedArray> code_table,
Handle<WasmInstanceObject> instance,
void InitializeTables(Handle<WasmInstanceObject> instance,
CodeSpecialization* code_specialization) {
int function_table_count =
static_cast<int>(module_->function_tables.size());
......
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