Reviewers: adamk,

Description:
Fix breakage on V8 Linux - nosse2

This was introduced by https://code.google.com/p/v8/source/detail?r=20857

BUG=None

Please review this at https://codereview.chromium.org/241433002/

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

Affected files (+8, -6 lines):
  M test/cctest/test-ordered-hash-table.cc


Index: test/cctest/test-ordered-hash-table.cc
diff --git a/test/cctest/test-ordered-hash-table.cc b/test/cctest/test-ordered-hash-table.cc index fc3515fc4aeb187840ac4ab5c0a6e588ffbf9319..b7c043d5e3fc0732f98ca5353c15ba89d73de83e 100644
--- a/test/cctest/test-ordered-hash-table.cc
+++ b/test/cctest/test-ordered-hash-table.cc
@@ -41,12 +41,14 @@ void CheckIterResultObject(Isolate* isolate,
                            Handle<JSObject> result,
                            Handle<Object> value,
                            bool done) {
-  CHECK(Object::GetProperty(isolate, result, "value").ToHandleChecked()
-      ->SameValue(*value));
-  CHECK(Object::GetProperty(isolate, result, "done").ToHandleChecked()
-      ->IsBoolean());
-  CHECK_EQ(Object::GetProperty(isolate, result, "done").ToHandleChecked()
-      ->BooleanValue(), done);
+  Handle<Object> value_object =
+      Object::GetProperty(isolate, result, "value").ToHandleChecked();
+  Handle<Object> done_object =
+      Object::GetProperty(isolate, result, "done").ToHandleChecked();
+
+  CHECK_EQ(*value_object, *value);
+  CHECK(done_object->IsBoolean());
+  CHECK_EQ(done_object->BooleanValue(), done);
 }




--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to