[APFloat] Swap an early out check so we do not dereference str.end().
[oota-llvm.git] / lib / Support / Unix / TimeValue.inc
index 5cf5a9d44ed6374e97bbfff7d1f53934d544d208..df8558bf8bedaa2f71e69e832e6498fb96e1f945 100644 (file)
@@ -48,7 +48,8 @@ TimeValue TimeValue::now() {
   }
 
   return TimeValue(
-    static_cast<TimeValue::SecondsType>( the_time.tv_sec + PosixZeroTime.seconds_ ),
+    static_cast<TimeValue::SecondsType>( the_time.tv_sec +
+      PosixZeroTimeSeconds ),
     static_cast<TimeValue::NanoSecondsType>( the_time.tv_usec *
       NANOSECONDS_PER_MICROSECOND ) );
 }