}
}
+ if (scope->arguments() != NULL) {
+ if (FLAG_trace_bailout) PrintF("function uses 'arguments'\n");
+ return NORMAL;
+ }
+
has_supported_syntax_ = true;
VisitDeclarations(scope->declarations());
if (!has_supported_syntax_) return NORMAL;
BAILOUT("Lookup slot");
}
} else {
- Property* property = rewrite->AsProperty();
- // In the presence of an arguments object, parameter variables
- // are rewritten into property accesses on that object.
- ASSERT_NOT_NULL(property);
- ASSERT_NE(Expression::kUninitialized, context_);
- Visit(property);
- property->set_context(context_);
+ BAILOUT("access to arguments object");
}
}
}