| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index 6b2f48f0172b9bea33bcc7457ce7425d26963eab..979d1b9a7d8b65ea4f319bc81e8f1abb66e940a8 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -595,12 +595,11 @@ void Expression::RecordToBooleanTypeFeedback(TypeFeedbackOracle* oracle) {
|
|
|
| int Call::ComputeFeedbackSlotCount(Isolate* isolate) {
|
| 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;
|
| + if (call_type == POSSIBLY_EVAL_CALL) {
|
| + return 0;
|
| }
|
|
|
| - return 0;
|
| + return 1;
|
| }
|
|
|
|
|
|
|