Skip to content

Commit

Permalink
Fix breakage on V8 Linux - nosse2
Browse files Browse the repository at this point in the history
This was introduced by https://code.google.com/p/v8/source/detail?r=20857

R=adamk@chromium.org
TBR=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/241433002

Patch from Erik Arvidsson <arv@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@20858 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
  • Loading branch information
adamk@chromium.org committed Apr 17, 2014
1 parent cb07c56 commit 656bc4d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions test/cctest/test-ordered-hash-table.cc
Expand Up @@ -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);
}


Expand Down

0 comments on commit 656bc4d

Please sign in to comment.