Commit 1d28a5d8 authored by Sven Sauleau's avatar Sven Sauleau Committed by Commit Bot

[wasm] use binding snake_case

This CL changes the case of the variable name I introduced in a previous CL.

Change-Id: I6d44eaf8361fa7e021c1107af49ce85238165449
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1535821Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Commit-Queue: Sven Sauleau <ssauleau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#60407}
parent 83a36e8e
......@@ -284,16 +284,16 @@ void Int64Lowering::LowerNode(Node* node) {
}
case IrOpcode::kParameter: {
DCHECK_EQ(1, node->InputCount());
int paramCount = static_cast<int>(signature()->parameter_count());
int param_count = static_cast<int>(signature()->parameter_count());
// Only exchange the node if the parameter count actually changed. We do
// not even have to do the default lowering because the the start node,
// the only input of a parameter node, only changes if the parameter count
// changes.
if (GetParameterCountAfterLowering(signature()) != paramCount) {
if (GetParameterCountAfterLowering(signature()) != param_count) {
int old_index = ParameterIndexOf(node->op());
// Prevent special lowering of wasm's instance or JS
// context/closure parameters.
if (old_index <= 0 || old_index > paramCount) {
if (old_index <= 0 || old_index > param_count) {
DefaultLowering(node);
break;
}
......
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