Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index b89da9d886bdf4cf3a12b7f960b47cfc1f86cf9f..627e65a039dfec46f09cb92fbf340ee0f7513817 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -414,13 +414,13 @@ void Property::RecordTypeFeedback(TypeFeedbackOracle* oracle, |
receiver_types_.Clear(); |
if (key()->IsPropertyName()) { |
ArrayLengthStub array_stub(Code::LOAD_IC); |
+ FunctionPrototypeStub proto_stub(Code::LOAD_IC); |
StringLengthStub string_stub(Code::LOAD_IC, false); |
if (oracle->LoadIsStub(this, &array_stub)) { |
is_array_length_ = true; |
} else if (oracle->LoadIsStub(this, &string_stub)) { |
is_string_length_ = true; |
- } else if (oracle->LoadIsBuiltin(this, |
- Builtins::kLoadIC_FunctionPrototype)) { |
+ } else if (oracle->LoadIsStub(this, &proto_stub)) { |
is_function_prototype_ = true; |
} else { |
Literal* lit_key = key()->AsLiteral(); |