Reviewers: Michael Achenbach,
Description:
[turbofan] Fix win64 after r28066.
[email protected]
Please review this at https://codereview.chromium.org/1106963002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+2, -1 lines):
M src/compiler/js-operator.h
Index: src/compiler/js-operator.h
diff --git a/src/compiler/js-operator.h b/src/compiler/js-operator.h
index
6b60028d49c2e61e785cdbef2f16bcc6f9429f01..f2ab96213ff0d56fea7ba55ecbce21df571a4a90
100644
--- a/src/compiler/js-operator.h
+++ b/src/compiler/js-operator.h
@@ -23,7 +23,8 @@ class CallFunctionParameters final {
public:
CallFunctionParameters(size_t arity, CallFunctionFlags flags,
LanguageMode language_mode)
- : bit_field_(ArityField::encode(arity) | FlagsField::encode(flags) |
+ : bit_field_(ArityField::encode(static_cast<unsigned>(arity)) |
+ FlagsField::encode(flags) |
LanguageModeField::encode(language_mode)) {}
size_t arity() const { return ArityField::decode(bit_field_); }
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.