Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: test/cctest/test-ordered-hash-table.cc

Issue 241433002: Fix breakage on V8 Linux - nosse2 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698