Commit 9edb2367 authored by vitalyr@chromium.org's avatar vitalyr@chromium.org

Fix mac build.

Review URL: http://codereview.chromium.org/5333007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5906 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 4bbf6012
......@@ -66,7 +66,7 @@ TEST(Positions) {
if (mode == RelocInfo::POSITION) {
CHECK_EQ(pc, it.rinfo()->pc());
CHECK_EQ(mode, it.rinfo()->rmode());
CHECK_EQ(static_cast<intptr_t>(pos), it.rinfo()->data());
CHECK_EQ(pos, static_cast<int>(it.rinfo()->data()));
it.next();
}
}
......@@ -83,7 +83,7 @@ TEST(Positions) {
if (mode == RelocInfo::STATEMENT_POSITION) {
CHECK_EQ(pc, it.rinfo()->pc());
CHECK_EQ(mode, it.rinfo()->rmode());
CHECK_EQ(static_cast<intptr_t>(pos), it.rinfo()->data());
CHECK_EQ(pos, static_cast<int>(it.rinfo()->data()));
it.next();
}
}
......@@ -99,7 +99,7 @@ TEST(Positions) {
RelocInfo::STATEMENT_POSITION : RelocInfo::POSITION;
CHECK_EQ(pc, it.rinfo()->pc());
CHECK_EQ(mode, it.rinfo()->rmode());
CHECK_EQ(static_cast<intptr_t>(pos), it.rinfo()->data());
CHECK_EQ(pos, static_cast<int>(it.rinfo()->data()));
it.next();
}
CHECK(it.done());
......
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