Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: src/compiler/js-operator.h

Issue 1106963002: [turbofan] Fix win64 after r28066. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_); }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698