Commit a9539ff5 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Fix windows build warnings.

R=jkummerow@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/12321047

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13707 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent ea0817c7
...@@ -2785,11 +2785,9 @@ bool HStoreKeyed::NeedsCanonicalization() { ...@@ -2785,11 +2785,9 @@ bool HStoreKeyed::NeedsCanonicalization() {
#define H_CONSTANT_INT32(val) \ #define H_CONSTANT_INT32(val) \
new(zone) HConstant(FACTORY->NewNumberFromInt(val, TENURED), \ new(zone) HConstant(static_cast<int32_t>(val), Representation::Integer32())
Representation::Integer32())
#define H_CONSTANT_DOUBLE(val) \ #define H_CONSTANT_DOUBLE(val) \
new(zone) HConstant(FACTORY->NewNumber(val, TENURED), \ new(zone) HConstant(static_cast<double>(val), Representation::Double())
Representation::Double())
#define DEFINE_NEW_H_SIMPLE_ARITHMETIC_INSTR(HInstr, op) \ #define DEFINE_NEW_H_SIMPLE_ARITHMETIC_INSTR(HInstr, op) \
HInstruction* HInstr::New( \ HInstruction* HInstr::New( \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment