Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index f7c667fbc1ca3964195baf3aa5232034e9bb50d9..b89da9d886bdf4cf3a12b7f960b47cfc1f86cf9f 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -413,8 +413,9 @@ void Property::RecordTypeFeedback(TypeFeedbackOracle* oracle, |
is_monomorphic_ = oracle->LoadIsMonomorphicNormal(this); |
receiver_types_.Clear(); |
if (key()->IsPropertyName()) { |
+ ArrayLengthStub array_stub(Code::LOAD_IC); |
StringLengthStub string_stub(Code::LOAD_IC, false); |
- if (oracle->LoadIsBuiltin(this, Builtins::kLoadIC_ArrayLength)) { |
+ if (oracle->LoadIsStub(this, &array_stub)) { |
is_array_length_ = true; |
} else if (oracle->LoadIsStub(this, &string_stub)) { |
is_string_length_ = true; |