| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 003a51134dc3fa35d9be4017fa1702171c76ee0d..aecd1405708575017ee1d5bb90e3807f501df065 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -21404,6 +21404,23 @@ THREADED_TEST(Regress142088) {
|
| }
|
|
|
|
|
| +THREADED_TEST(Regress3337) {
|
| + LocalContext context;
|
| + v8::Isolate* isolate = context->GetIsolate();
|
| + v8::HandleScope scope(isolate);
|
| + Local<v8::Object> o1 = Object::New(isolate);
|
| + Local<v8::Object> o2 = Object::New(isolate);
|
| + i::Handle<i::JSObject> io1 = v8::Utils::OpenHandle(*o1);
|
| + i::Handle<i::JSObject> io2 = v8::Utils::OpenHandle(*o2);
|
| + CHECK(io1->map() == io2->map());
|
| + o1->SetIndexedPropertiesToExternalArrayData(
|
| + NULL, v8::kExternalUint32Array, 0);
|
| + o2->SetIndexedPropertiesToExternalArrayData(
|
| + NULL, v8::kExternalUint32Array, 0);
|
| + CHECK(io1->map() == io2->map());
|
| +}
|
| +
|
| +
|
| THREADED_TEST(Regress137496) {
|
| i::FLAG_expose_gc = true;
|
| LocalContext context;
|
|
|