Index: src/builtins/builtins-date.cc |
diff --git a/src/builtins/builtins-date.cc b/src/builtins/builtins-date.cc |
index 205c8c971f70679f90ef5da3ec60a20f027752f1..09c84d3e3d1552a7f1a1d1fdf3ab40306dd530dd 100644 |
--- a/src/builtins/builtins-date.cc |
+++ b/src/builtins/builtins-date.cc |
@@ -919,7 +919,7 @@ void Builtins::Generate_DatePrototype_GetField(CodeStubAssembler* assembler, |
Label receiver_not_date(assembler, Label::kDeferred); |
- assembler->GotoIf(assembler->WordIsSmi(receiver), &receiver_not_date); |
+ assembler->GotoIf(assembler->TaggedIsSmi(receiver), &receiver_not_date); |
Node* receiver_instance_type = assembler->LoadInstanceType(receiver); |
assembler->GotoIf( |
assembler->Word32NotEqual(receiver_instance_type, |