Index: src/conversions-inl.h |
diff --git a/src/conversions-inl.h b/src/conversions-inl.h |
index 730e6477cbee3e0fb781d692ec971d5a32b7ba36..3e56799bc9bab501f43f6be91321d0c694336fa0 100644 |
--- a/src/conversions-inl.h |
+++ b/src/conversions-inl.h |
@@ -127,10 +127,6 @@ |
return DoubleToUint32(number->Number()); |
} |
-int64_t NumberToInt64(Object* number) { |
- if (number->IsSmi()) return Smi::cast(number)->value(); |
- return static_cast<int64_t>(number->Number()); |
-} |
bool TryNumberToSize(Isolate* isolate, Object* number, size_t* result) { |
SealHandleScope shs(isolate); |