fix 16045

TBR=mstarzinger@chromium.org
BUG=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16047 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
dcarney@chromium.org 2013-08-05 10:04:50 +00:00
parent 207396101f
commit 47c3a081f1

View File

@ -493,7 +493,8 @@ TEST(EternalHandles) {
for (int i = 0; i < kArrayLength; i++) { for (int i = 0; i < kArrayLength; i++) {
HandleScope scope(isolate); HandleScope scope(isolate);
v8::Handle<v8::Value> local = v8::Utils::ToLocal(eternals->Get(i)); v8::Handle<v8::Value> local =
v8::Utils::ToLocal(eternals->Get(indices[i]));
v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(local); v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(local);
v8::Handle<v8::Value> value = object->Get(i); v8::Handle<v8::Value> value = object->Get(i);
CHECK(value->IsInt32()); CHECK(value->IsInt32());