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

Another fix for cctest/test-run-machops/RunLoadImmIndex.

TBR=danno@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22759 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 57861e43
......@@ -2511,7 +2511,9 @@ static void RunLoadImmIndex(MachineRepresentation rep) {
Node* index = m.Int32Constant((offset + i) * sizeof(buffer[0]));
m.Return(m.Load(rep, base, index));
CHECK_EQ(static_cast<Type>(buffer[i]), m.Call());
Type expected = buffer[i];
Type actual = static_cast<CType>(m.Call());
CHECK_EQ(expected, actual);
printf("XXX\n");
}
}
......
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