| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index 5f085d358812bde87e35eb8411ff9d0f76d06979..823dedee098fc5942a63501057061c9ea8d67a3a 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -460,7 +460,10 @@ void Property::RecordTypeFeedback(TypeFeedbackOracle* oracle,
|
| receiver_types_.Clear();
|
| if (key()->IsPropertyName()) {
|
| FunctionPrototypeStub proto_stub(Code::LOAD_IC);
|
| - if (oracle->LoadIsStub(this, &proto_stub)) {
|
| + StringLengthStub string_stub(Code::LOAD_IC, false);
|
| + if (oracle->LoadIsStub(this, &string_stub)) {
|
| + is_string_length_ = true;
|
| + } else if (oracle->LoadIsStub(this, &proto_stub)) {
|
| is_function_prototype_ = true;
|
| } else {
|
| Literal* lit_key = key()->AsLiteral();
|
|
|