Commit ef15f83b authored by bmeurer's avatar bmeurer Committed by Commit bot

[turbofan] Better fix for Win64 after r28066.

TBR=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/1107253003

Cr-Commit-Position: refs/heads/master@{#28092}
parent 2613b7fb
......@@ -23,8 +23,7 @@ class CallFunctionParameters final {
public:
CallFunctionParameters(size_t arity, CallFunctionFlags flags,
LanguageMode language_mode)
: bit_field_(ArityField::encode(static_cast<unsigned>(arity)) |
FlagsField::encode(flags) |
: bit_field_(ArityField::encode(arity) | FlagsField::encode(flags) |
LanguageModeField::encode(language_mode)) {}
size_t arity() const { return ArityField::decode(bit_field_); }
......@@ -45,7 +44,7 @@ class CallFunctionParameters final {
return p.bit_field_;
}
typedef BitField<unsigned, 0, 28> ArityField;
typedef BitField<size_t, 0, 28> ArityField;
typedef BitField<CallFunctionFlags, 28, 2> FlagsField;
typedef BitField<LanguageMode, 30, 2> LanguageModeField;
......
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