Index: src/conversions-inl.h |
diff --git a/src/conversions-inl.h b/src/conversions-inl.h |
index d9f16ade2eda6b69e2d2c2e3892acc0bd5ffea63..42d617d01720346d7a1667a127ffc643fe4f18b4 100644 |
--- a/src/conversions-inl.h |
+++ b/src/conversions-inl.h |
@@ -160,6 +160,11 @@ size_t NumberToSize(Isolate* isolate, Object* number) { |
} |
+uint32_t DoubleToUint32(double x) { |
+ return static_cast<uint32_t>(DoubleToInt32(x)); |
+} |
+ |
+ |
template <class Iterator, class EndMark> |
bool SubStringEquals(Iterator* current, |
EndMark end, |