Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 269cabb97721ab9081a854a3725ea5dc8874b877..7ebc1033db09f50a403d078f122cc508c2c2621b 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -2389,6 +2389,7 @@ void ArrayLengthStub::Generate(MacroAssembler* masm) { |
// -- rsp[0] : return address |
// ----------------------------------- |
__ Cmp(rax, masm->isolate()->factory()->length_string()); |
+ __ j(not_equal, &miss); |
receiver = rdx; |
} else { |
ASSERT(kind() == Code::LOAD_IC); |
@@ -2416,6 +2417,7 @@ void FunctionPrototypeStub::Generate(MacroAssembler* masm) { |
// -- rsp[0] : return address |
// ----------------------------------- |
__ Cmp(rax, masm->isolate()->factory()->prototype_string()); |
+ __ j(not_equal, &miss); |
receiver = rdx; |
} else { |
ASSERT(kind() == Code::LOAD_IC); |
@@ -2443,6 +2445,7 @@ void StringLengthStub::Generate(MacroAssembler* masm) { |
// -- rsp[0] : return address |
// ----------------------------------- |
__ Cmp(rax, masm->isolate()->factory()->length_string()); |
+ __ j(not_equal, &miss); |
receiver = rdx; |
} else { |
ASSERT(kind() == Code::LOAD_IC); |