Index: src/x64/code-stubs-x64.cc |
=================================================================== |
--- src/x64/code-stubs-x64.cc (revision 7936) |
+++ src/x64/code-stubs-x64.cc (working copy) |
@@ -524,12 +524,14 @@ |
void TypeRecordingUnaryOpStub::GenerateHeapNumberStubSub(MacroAssembler* masm) { |
- Label non_smi, slow; |
- GenerateSmiCodeSub(masm, &non_smi, &slow, Label::kNear); |
+ Label non_smi, slow, call_builtin; |
+ GenerateSmiCodeSub(masm, &non_smi, &call_builtin, Label::kNear); |
__ bind(&non_smi); |
GenerateHeapNumberCodeSub(masm, &slow); |
__ bind(&slow); |
GenerateTypeTransition(masm); |
+ __ bind(&call_builtin); |
+ GenerateGenericCodeFallback(masm); |
} |