| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index b0996afb82e328fab772a53aaa05f7f3eeb3ddd6..5f8a991abd299976e9bc9939955c16bea75c5548 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -6841,6 +6841,17 @@ bool AccessorInfo::IsCompatibleReceiver(Object* receiver) {
|
| ->IsTemplateFor(JSObject::cast(receiver)->map());
|
| }
|
|
|
| +bool AccessorInfo::can_fast_call() {
|
| + int value = flag()->value();
|
| + return AccessorOptimizeLevel::decode(value);
|
| +}
|
| +
|
| +void AccessorInfo::set_can_fast_call(bool fast_call) {
|
| + int value = flag()->value();
|
| + set_flag(
|
| + Smi::FromInt(AccessorOptimizeLevel::update(value, fast_call)),
|
| + SKIP_WRITE_BARRIER);
|
| +}
|
|
|
| void ExecutableAccessorInfo::clear_setter() {
|
| set_setter(GetIsolate()->heap()->undefined_value(), SKIP_WRITE_BARRIER);
|
|
|