Reviewers: Jakob,

Description:
Fix windows build warnings.


[email protected]
BUG=


Please review this at https://chromiumcodereview.appspot.com/12321047/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/hydrogen-instructions.cc


Index: src/hydrogen-instructions.cc
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
index 12ba829ca0814f306593b0f563a699ee062bb12e..9db2cd21fae19e0618084653bf9bcbd25833b7cc 100644
--- a/src/hydrogen-instructions.cc
+++ b/src/hydrogen-instructions.cc
@@ -2785,11 +2785,9 @@ bool HStoreKeyed::NeedsCanonicalization() {


#define H_CONSTANT_INT32(val) \ -new(zone) HConstant(FACTORY->NewNumberFromInt(val, TENURED), \
-                    Representation::Integer32())
+new(zone) HConstant(static_cast<int32_t>(val), Representation::Integer32())
#define H_CONSTANT_DOUBLE(val) \ -new(zone) HConstant(FACTORY->NewNumber(val, TENURED), \
-                    Representation::Double())
+new(zone) HConstant(static_cast<double>(val), Representation::Double())

#define DEFINE_NEW_H_SIMPLE_ARITHMETIC_INSTR(HInstr, op) \ HInstruction* HInstr::New( \


--
--
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/groups/opt_out.


Reply via email to