Index: src/builtins/builtins-global.cc |
diff --git a/src/builtins/builtins-global.cc b/src/builtins/builtins-global.cc |
index 2205788cfc11b573ca67d34cce2100ec2472449f..77fdadbf6e2e03a8f2f3c6ed132e766f4a234c19 100644 |
--- a/src/builtins/builtins-global.cc |
+++ b/src/builtins/builtins-global.cc |
@@ -121,7 +121,7 @@ void Builtins::Generate_GlobalIsFinite(CodeStubAssembler* assembler) { |
Node* num = var_num.value(); |
// Check if {num} is a Smi or a HeapObject. |
- assembler->GotoIf(assembler->WordIsSmi(num), &return_true); |
+ assembler->GotoIf(assembler->TaggedIsSmi(num), &return_true); |
// Check if {num} is a HeapNumber. |
Label if_numisheapnumber(assembler), |
@@ -176,7 +176,7 @@ void Builtins::Generate_GlobalIsNaN(CodeStubAssembler* assembler) { |
Node* num = var_num.value(); |
// Check if {num} is a Smi or a HeapObject. |
- assembler->GotoIf(assembler->WordIsSmi(num), &return_false); |
+ assembler->GotoIf(assembler->TaggedIsSmi(num), &return_false); |
// Check if {num} is a HeapNumber. |
Label if_numisheapnumber(assembler), |