[turbofan] Ship TF for dynamic lookup slots.

R=bmeurer@chromium.org
BUG=v8:4131
LOG=N

Review URL: https://codereview.chromium.org/1152173011

Cr-Commit-Position: refs/heads/master@{#28753}
This commit is contained in:
mstarzinger 2015-06-02 03:36:21 -07:00 committed by Commit bot
parent 1f24c38bde
commit d9ee1d6ffb

View File

@ -155,7 +155,7 @@ void AstNumberingVisitor::VisitRegExpLiteral(RegExpLiteral* node) {
void AstNumberingVisitor::VisitVariableProxy(VariableProxy* node) {
IncrementNodeCount();
if (node->var()->IsLookupSlot()) {
DisableOptimization(kReferenceToAVariableWhichRequiresDynamicLookup);
DisableCrankshaft(kReferenceToAVariableWhichRequiresDynamicLookup);
}
ReserveFeedbackSlots(node);
node->set_base_id(ReserveIdRange(VariableProxy::num_ids()));