Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index 45c3f7e3d0e91f5558c11ed79618a0ea3b7271e5..38b2960e116d230ea060d26cae3deac51a30c28d 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -4380,6 +4380,11 @@ Node* CodeStubAssembler::IntPtrMax(Node* left, Node* right) { |
MachineType::PointerRepresentation()); |
} |
+Node* CodeStubAssembler::IntPtrMin(Node* left, Node* right) { |
+ return SelectConstant(IntPtrLessThanOrEqual(left, right), left, right, |
+ MachineType::PointerRepresentation()); |
+} |
+ |
template <class Dictionary> |
Node* CodeStubAssembler::GetNumberOfElements(Node* dictionary) { |
return LoadFixedArrayElement(dictionary, Dictionary::kNumberOfElementsIndex); |