Index: src/builtins/builtins-math.cc |
diff --git a/src/builtins/builtins-math.cc b/src/builtins/builtins-math.cc |
index 29c87b4be2ab225849a046902e44e1f4ce8c9b20..ee531e4299e9e489c2e2d2348c109a209fa2737a 100644 |
--- a/src/builtins/builtins-math.cc |
+++ b/src/builtins/builtins-math.cc |
@@ -133,7 +133,7 @@ void Generate_MathRoundingOperation( |
// Check if {x} is a Smi or a HeapObject. |
Label if_xissmi(assembler), if_xisnotsmi(assembler); |
- assembler->Branch(assembler->WordIsSmi(x), &if_xissmi, &if_xisnotsmi); |
+ assembler->Branch(assembler->TaggedIsSmi(x), &if_xissmi, &if_xisnotsmi); |
assembler->Bind(&if_xissmi); |
{ |
@@ -214,7 +214,7 @@ void Builtins::Generate_MathClz32(CodeStubAssembler* assembler) { |
// Check if {x} is a Smi or a HeapObject. |
Label if_xissmi(assembler), if_xisnotsmi(assembler); |
- assembler->Branch(assembler->WordIsSmi(x), &if_xissmi, &if_xisnotsmi); |
+ assembler->Branch(assembler->TaggedIsSmi(x), &if_xissmi, &if_xisnotsmi); |
assembler->Bind(&if_xissmi); |
{ |