Index: src/x64/stub-cache-x64.cc |
=================================================================== |
--- src/x64/stub-cache-x64.cc (revision 4445) |
+++ src/x64/stub-cache-x64.cc (working copy) |
@@ -1177,6 +1177,9 @@ |
// Load receiver. |
__ movq(rax, Operand(rsp, kPointerSize)); |
+ // Chech that receiver is not a smi. |
+ __ JumpIfSmi(rax, &miss); |
+ |
// Check the maps of the full prototype chain. Also check that |
// global property cells up to (but not including) the last object |
// in the prototype chain are empty. |