Reviewers: ulan,

Description:
Fix presubmit error in r11243.

[email protected]
TEST=cctest/test-heap/OptimizedAllocationAlwaysInNewSpace


Please review this at https://chromiumcodereview.appspot.com/10010010/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M test/cctest/test-heap.cc


Index: test/cctest/test-heap.cc
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
index 9a5f24ec8227701a0af962da4a907ee3477f1eb4..f75dc30881b38fb316f5c23d80add9b406fb67c5 100644
--- a/test/cctest/test-heap.cc
+++ b/test/cctest/test-heap.cc
@@ -1702,8 +1702,7 @@ TEST(OptimizedAllocationAlwaysInNewSpace) {
       "f(1); f(2); f(3);"
       "%OptimizeFunctionOnNextCall(f);"
       "f(4);");
-  CHECK(res->IsObject());
- CHECK(res->ToObject()->GetRealNamedProperty(v8_str("x"))->Int32Value() == 4); + CHECK_EQ(4, res->ToObject()->GetRealNamedProperty(v8_str("x"))->Int32Value());

   Handle<JSObject> o =
       v8::Utils::OpenHandle(*v8::Handle<v8::Object>::Cast(res));


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to