Commit 3d972a5b authored by Milad Fa's avatar Milad Fa Committed by Commit Bot

PPC/s390: [wasm] Rename more "type" to "kind"

Port 52cc7ba9

Original Commit Message:

    This renames more fields holding "ValueKind" or methods operating on
    "ValueKind" to contain "kind" instead of "type".
    It also renames "is_reference_type" to "is_reference" on both ValueType
    and ValueKind, as the "_type" prefix is kind of implicit from the
    argument.

R=clemensb@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
BUG=
LOG=N

Change-Id: I3ab73b31b401ed1e9788df33d998b067280cb52c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2723251Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#73076}
parent 4e68c65a
......@@ -82,7 +82,7 @@ int LiftoffAssembler::SlotSizeForType(ValueKind kind) {
}
bool LiftoffAssembler::NeedsAlignment(ValueKind kind) {
return (kind == kS128 || is_reference_type(kind));
return (kind == kS128 || is_reference(kind));
}
void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value,
......
......@@ -144,7 +144,7 @@ int LiftoffAssembler::SlotSizeForType(ValueKind kind) {
}
bool LiftoffAssembler::NeedsAlignment(ValueKind kind) {
return (kind == kS128 || is_reference_type(kind));
return (kind == kS128 || is_reference(kind));
}
void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value,
......
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