[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}
This commit is contained in:
parent
2613b7fb63
commit
ef15f83bc3
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user