| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index a1037f79163c90e48d5ac4125b868f670ddec96a..1db5ffe3097c8d96bb2d54134175c334e92d3593 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -594,14 +594,9 @@ void Expression::RecordToBooleanTypeFeedback(TypeFeedbackOracle* oracle) {
|
| }
|
|
|
|
|
| -int Call::ComputeFeedbackSlotCount(Isolate* isolate) {
|
| +bool Call::IsUsingCallFeedbackSlot(Isolate* isolate) const {
|
| CallType call_type = GetCallType(isolate);
|
| - if (call_type == LOOKUP_SLOT_CALL || call_type == OTHER_CALL) {
|
| - // Call only uses a slot in some cases.
|
| - return 1;
|
| - }
|
| -
|
| - return 0;
|
| + return call_type == LOOKUP_SLOT_CALL || call_type == OTHER_CALL;
|
| }
|
|
|
|
|
|
|