Revision: 11244
Author: [email protected]
Date: Thu Apr 5 09:40:13 2012
Log: Fix presubmit error in r11243.
[email protected]
TEST=cctest/test-heap/OptimizedAllocationAlwaysInNewSpace
Review URL: https://chromiumcodereview.appspot.com/10010010
http://code.google.com/p/v8/source/detail?r=11244
Modified:
/branches/bleeding_edge/test/cctest/test-heap.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-heap.cc Thu Apr 5 08:36:31
2012
+++ /branches/bleeding_edge/test/cctest/test-heap.cc Thu Apr 5 09:40:13
2012
@@ -1702,8 +1702,7 @@
"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