Revision: 13707
Author:   [email protected]
Date:     Thu Feb 21 04:17:48 2013
Log:      Fix windows build warnings.

[email protected]
BUG=

Review URL: https://chromiumcodereview.appspot.com/12321047
http://code.google.com/p/v8/source/detail?r=13707

Modified:
 /branches/bleeding_edge/src/hydrogen-instructions.cc

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Thu Feb 21 03:40:37 2013 +++ /branches/bleeding_edge/src/hydrogen-instructions.cc Thu Feb 21 04:17:48 2013
@@ -2785,11 +2785,9 @@


#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