Index: src/x64/stub-cache-x64.cc |
=================================================================== |
--- src/x64/stub-cache-x64.cc (revision 2959) |
+++ src/x64/stub-cache-x64.cc (working copy) |
@@ -1751,6 +1751,7 @@ |
// Load the initial map and verify that it is in fact a map. |
__ movq(rbx, FieldOperand(rdi, JSFunction::kPrototypeOrInitialMapOffset)); |
// Will both indicate a NULL and a Smi. |
+ ASSERT(kSmiTag == 0); |
__ JumpIfSmi(rbx, &generic_stub_call); |
__ CmpObjectType(rbx, MAP_TYPE, rcx); |
__ j(not_equal, &generic_stub_call); |