Commit aeae8548 authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

Fix windows build.

TBR=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24173 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent deaf463b
......@@ -428,9 +428,9 @@ class AccessTester : public HandleAndZoneScope {
SimplifiedLoweringTester<Object*> t;
Node* ptr = GetBaseNode(&t);
Node* load = t.LoadElement(access, ptr, t.Int32Constant(from_index),
t.Int32Constant(num_elements));
t.Int32Constant(static_cast<int>(num_elements)));
t.StoreElement(access, ptr, t.Int32Constant(to_index),
t.Int32Constant(num_elements), load);
t.Int32Constant(static_cast<int>(num_elements)), load);
t.Return(t.jsgraph.TrueConstant());
t.LowerAllNodes();
t.GenerateCode();
......
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