| Index: src/typing.cc
|
| diff --git a/src/typing.cc b/src/typing.cc
|
| index c7bea40ac686c662529df81b2cee779473ca6d60..b925dc610ffdbd666717b835129971eb6f7b0887 100644
|
| --- a/src/typing.cc
|
| +++ b/src/typing.cc
|
| @@ -323,7 +323,7 @@ void AstTyper::VisitForStatement(ForStatement* stmt) {
|
| void AstTyper::VisitForInStatement(ForInStatement* stmt) {
|
| // Collect type feedback.
|
| stmt->set_for_in_type(static_cast<ForInStatement::ForInType>(
|
| - oracle()->ForInType(stmt->ForInFeedbackId())));
|
| + oracle()->ForInType(stmt->ForInFeedbackSlot())));
|
|
|
| RECURSE(Visit(stmt->enumerable()));
|
| store_.Forget(); // Control may transfer here via looping or 'continue'.
|
| @@ -530,8 +530,9 @@ void AstTyper::VisitCall(Call* expr) {
|
| // Collect type feedback.
|
| RECURSE(Visit(expr->expression()));
|
| if (!expr->expression()->IsProperty() &&
|
| - oracle()->CallIsMonomorphic(expr->CallFeedbackId())) {
|
| - expr->set_target(oracle()->GetCallTarget(expr->CallFeedbackId()));
|
| + expr->HasCallFeedbackSlot() &&
|
| + oracle()->CallIsMonomorphic(expr->CallFeedbackSlot())) {
|
| + expr->set_target(oracle()->GetCallTarget(expr->CallFeedbackSlot()));
|
| }
|
|
|
| ZoneList<Expression*>* args = expr->arguments();
|
|
|