[turbofan] Fix win64 after r28066.
authorBenedikt Meurer <bmeurer@chromium.org>
Mon, 27 Apr 2015 11:04:54 +0000 (13:04 +0200)
committerBenedikt Meurer <bmeurer@chromium.org>
Mon, 27 Apr 2015 11:04:30 +0000 (11:04 +0000)
TBR=machenbach@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#28067}

src/compiler/js-operator.h

index 6b60028d49c2e61e785cdbef2f16bcc6f9429f01..f2ab96213ff0d56fea7ba55ecbce21df571a4a90 100644 (file)
@@ -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_); }