| Index: src/property-descriptor.cc
|
| diff --git a/src/property-descriptor.cc b/src/property-descriptor.cc
|
| index ac35559981cbd1e1e6af51bdef1a751f0ebdcaee..243a9faac3a76cd33f1d5563cb065b5b5e34c772 100644
|
| --- a/src/property-descriptor.cc
|
| +++ b/src/property-descriptor.cc
|
| @@ -148,7 +148,7 @@ bool PropertyDescriptor::ToPropertyDescriptor(Isolate* isolate,
|
| PropertyDescriptor* desc) {
|
| // 1. ReturnIfAbrupt(Obj).
|
| // 2. If Type(Obj) is not Object, throw a TypeError exception.
|
| - if (!obj->IsSpecObject()) {
|
| + if (!obj->IsJSReceiver()) {
|
| isolate->Throw(*isolate->factory()->NewTypeError(
|
| MessageTemplate::kPropertyDescObject, obj));
|
| return false;
|
|
|