Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 895ab67713b3fc8830701e16a915d7c23c3f0c17..1a6e7681cf4422aebe6087aadc9b3858596ef8ff 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -517,6 +517,9 @@ void Property::RecordTypeFeedback(TypeFeedbackOracle* oracle) { |
if (key()->IsPropertyName()) { |
if (oracle->LoadIsBuiltin(this, Builtins::LoadIC_ArrayLength)) { |
is_array_length_ = true; |
+ } else if (oracle->LoadIsBuiltin(this, |
+ Builtins::LoadIC_FunctionPrototype)) { |
+ is_function_prototype_ = true; |
} else { |
Literal* lit_key = key()->AsLiteral(); |
ASSERT(lit_key != NULL && lit_key->handle()->IsString()); |