LCOV - code coverage report
Current view: top level - src/runtime - runtime-date.cc (source / functions) Hit Total Coverage
Test: app.info Lines: 3 3 100.0 %
Date: 2019-04-19 Functions: 2 3 66.7 %

          Line data    Source code
       1             : // Copyright 2014 the V8 project authors. All rights reserved.
       2             : // Use of this source code is governed by a BSD-style license that can be
       3             : // found in the LICENSE file.
       4             : 
       5             : #include "src/runtime/runtime-utils.h"
       6             : 
       7             : #include "src/arguments.h"
       8             : #include "src/conversions-inl.h"
       9             : #include "src/counters.h"
      10             : #include "src/date.h"
      11             : #include "src/heap/factory.h"
      12             : #include "src/isolate-inl.h"
      13             : 
      14             : namespace v8 {
      15             : namespace internal {
      16             : 
      17     1269552 : RUNTIME_FUNCTION(Runtime_DateCurrentTime) {
      18             :   HandleScope scope(isolate);
      19             :   DCHECK_EQ(0, args.length());
      20     1269552 :   return *isolate->factory()->NewNumber(JSDate::CurrentTimeValue(isolate));
      21             : }
      22             : 
      23             : }  // namespace internal
      24      122036 : }  // namespace v8

Generated by: LCOV version 1.10