Revision: 20858
Author: [email protected]
Date: Thu Apr 17 19:39:48 2014 UTC
Log: Fix breakage on V8 Linux - nosse2
This was introduced by https://code.google.com/p/v8/source/detail?r=20857
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/241433002
Patch from Erik Arvidsson <[email protected]>.
http://code.google.com/p/v8/source/detail?r=20858
Modified:
/branches/bleeding_edge/test/cctest/test-ordered-hash-table.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-ordered-hash-table.cc Thu Apr
17 17:45:32 2014 UTC
+++ /branches/bleeding_edge/test/cctest/test-ordered-hash-table.cc Thu Apr
17 19:39:48 2014 UTC
@@ -41,12 +41,14 @@
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.